[General Questions and Answers] GuestD2151:
Hello everyone,

I've been looking into some smali files to try and fix some stuff. I've found my method, but I can't make any sense of it. Is there someone who can translate the following actions to me?

It looks to me like it's constructing an URL of sorts?

Thanks for any help!

.locals 11
.parameter "c"
.parameter "teamId"
.parameter "knvbNumber"
.parameter "birthdate"

.prologue
const/4 v10, 0x0

.line 1035
const-string v4, ""

.line 1036
.local v4, res:Ljava/lang/String;
const v7, 0x7f080043

invoke-virtual {p0, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

move-result-object v2

.line 1037
.local v2, connectKnvb:Ljava/lang/String;
new-instance v0, Ljava/lang/StringBuffer;

invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

.line 1038
.local v0, buffer:Ljava/lang/StringBuffer;
invoke-virtual {v0, v10}, Ljava/lang/StringBuffer;->setLength(I)V

.line 1039
const v7, 0x7f080036

invoke-virtual {p0, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

move-result-object v7

invoke-virtual {v0, v7}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

.line 1040
new-instance v7, Ljava/lang/StringBuilder;

const-string v8, "/"

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-virtual {v0, v7}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

.line 1041
new-instance v7, Ljava/lang/StringBuilder;

const-string v8, "/"

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-virtual {v0, v7}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

.line 1042
new-instance v7, Ljava/lang/StringBuilder;

const-string v8, "/"

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v7, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-virtual {v0, v7}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

.line 1043
new-instance v7, Ljava/lang/StringBuilder;

const-string v8, "/"

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v7, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7

invoke-virtual {v0, v7}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

.line 1044
new-instance v7, Ljava/lang/StringBuilder;

invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

move-result-object v8

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

const-string v8, "/"

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

const-string v8, "/"

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

const-string v8, "/"

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

.line 1045
invoke-virtual {v7, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

.line 1044
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v6

.line 1046
.local v6, urlToHash:Ljava/lang/String;
new-instance v7, Ljava/lang/StringBuilder;

const-string v8, "xs2voetbal2012#"

invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

const-string v8, "#"

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

sget-object v8, Lcom/xs2theworld/voetballNL/network/APIHelper;->SESSION_ID:Ljava/lang/String;

invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v7

invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v7