
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_true> * this, uint
   symndx, uint got_type, uint got_offset, uint64_t addend) */

void __thiscall
gold::Sized_relobj<32,_true>::do_set_local_got_offset
          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)

{
  Local_got_entry_key key;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6)

{
  int *piVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  char local_40 [12];
  int local_34;
  undefined1 local_30 [4];
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  int *local_14;
  undefined4 uStack_10;
  
  uStack_10 = 0x109f28;
  local_28 = param_2;
  local_20 = param_6;
  local_24 = param_5;
  FUN_001097c0(local_30,param_1 + 0x68,&local_28);
  if (local_34 == 0) {
    local_14 = (int *)FUN_003ac4d0(0xc);
    *local_14 = param_3;
    local_20 = local_2c;
    local_14[1] = param_3;
    local_1c = local_28;
    local_14[2] = 0;
    local_18 = local_24;
    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);
    if (local_40[0] == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);
    }
  }
  else {
    piVar1 = *(int **)(local_34 + 0x10);
    iVar4 = *piVar1;
    piVar2 = piVar1;
    if (iVar4 != -1) {
      while( true ) {
        if (param_3 == iVar4) {
          piVar2[1] = param_3;
          return;
        }
        piVar2 = (int *)piVar2[2];
        if (piVar2 == (int *)0x0) break;
        iVar4 = *piVar2;
      }
      piVar2 = (int *)FUN_003ac4d0(0xc);
      iVar4 = piVar1[2];
      *piVar2 = param_3;
      piVar2[1] = param_3;
      piVar2[2] = iVar4;
      piVar1[2] = (int)piVar2;
      return;
    }
    *piVar1 = param_3;
    piVar1[1] = param_3;
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x4e00d8
SUB ESP,0x30
MOV EAX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [ESP + 0x54]
MOV ESI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x40]
LEA EDI,[EAX + 0x68]
LEA EAX,[ESP + 0xc]
SUB ESP,0x4
LEA EDX,[ESP + 0x18]
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x001097c0
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0xc
TEST EAX,EAX
JZ 0x00109fd0
MOV EDI,dword ptr [EAX + 0x10]
MOV EDX,dword ptr [EDI]
MOV EAX,EDI
CMP EDX,-0x1
JNZ 0x00109f92
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [EDI],ESI
MOV dword ptr [EDI + 0x4],EAX
ADD ESP,0x30
POP EBX
POP ESI
POP EDI
RET
MOV EDX,dword ptr [EAX]
CMP ESI,EDX
JZ 0x0010a048
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00109f90
SUB ESP,0xc
PUSH 0xc
CALL 0x003ac4d0
MOV EDX,dword ptr [EDI + 0x8]
MOV ECX,dword ptr [ESP + 0x5c]
ADD ESP,0x10
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],EDX
MOV dword ptr [EDI + 0x8],EAX
ADD ESP,0x30
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH 0xc
CALL 0x003ac4d0
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x5c]
MOV dword ptr [EAX],ESI
MOV dword ptr [ESP + 0x30],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [ESP + 0x34],EDX
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [ESP + 0x3c],EAX
LEA EAX,[ESP + 0x10]
MOV dword ptr [ESP + 0x38],EDX
MOV ESP,EAX
LEA EDX,[ESP + 0x20]
PUSH EDX
PUSH 0x0
PUSH EDI
PUSH EAX
CALL 0x00109990
ADD ESP,0xc
CMP byte ptr [ESP + 0x4],0x0
JNZ 0x00109f87
PUSH EAX
LEA EAX,[EBX + 0xffe7b438]
PUSH EAX
LEA EAX,[EBX + 0xffe63385]
PUSH 0x852
PUSH EAX
CALL 0x002446e0
MOV ECX,dword ptr [ESP + 0x4c]
MOV dword ptr [EAX + 0x4],ECX
ADD ESP,0x30
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char local_40 [12];" primitive_type (array_declarator "local_40 [12]" identifier [ number_literal ]) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x109f28;" (assignment_expression "uStack_10 = 0x109f28" identifier = number_literal) ;) (expression_statement "local_28 = param_2;" (assignment_expression "local_28 = param_2" identifier = identifier) ;) (expression_statement "local_20 = param_6;" (assignment_expression "local_20 = param_6" identifier = identifier) ;) (expression_statement "local_24 = param_5;" (assignment_expression "local_24 = param_5" identifier = identifier) ;) (expression_statement "FUN_001097c0(local_30,param_1 + 0x68,&local_28);" (call_expression "FUN_001097c0(local_30,param_1 + 0x68,&local_28)" identifier (argument_list "(local_30,param_1 + 0x68,&local_28)" ( identifier , (binary_expression "param_1 + 0x68" identifier + number_literal) , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }" { (expression_statement "local_14 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "local_14 = (int *)FUN_003ac4d0(0xc)" identifier = (cast_expression "(int *)FUN_003ac4d0(0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*local_14 = param_3;" (assignment_expression "*local_14 = param_3" (pointer_expression "*local_14" * identifier) = identifier) ;) (expression_statement "local_20 = local_2c;" (assignment_expression "local_20 = local_2c" identifier = identifier) ;) (expression_statement "local_14[1] = param_3;" (assignment_expression "local_14[1] = param_3" (subscript_expression "local_14[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_1c = local_28;" (assignment_expression "local_1c = local_28" identifier = identifier) ;) (expression_statement "local_14[2] = 0;" (assignment_expression "local_14[2] = 0" (subscript_expression "local_14[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_18 = local_24;" (assignment_expression "local_18 = local_24" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);" (assignment_expression "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" identifier = (call_expression "FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" identifier (argument_list "(local_40,param_1 + 0x68,0,&local_20)" ( identifier , (binary_expression "param_1 + 0x68" identifier + number_literal) , number_literal , (pointer_expression "&local_20" & identifier) )))) ;) (if_statement "if (local_40[0] == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" if (parenthesized_expression "(local_40[0] == '\0')" ( (binary_expression "local_40[0] == '\0'" (subscript_expression "local_40[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" identifier (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_local_got_offset"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" else (compound_statement "{\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" { (expression_statement "piVar1 = *(int **)(local_34 + 0x10);" (assignment_expression "piVar1 = *(int **)(local_34 + 0x10)" identifier = (pointer_expression "*(int **)(local_34 + 0x10)" * (cast_expression "(int **)(local_34 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x10)" ( (binary_expression "local_34 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" identifier = identifier) ;) (if_statement "if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" { (while_statement "while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" { (if_statement "if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar4)" ( (binary_expression "param_3 == iVar4" identifier == identifier) )) (compound_statement "{\n          piVar2[1] = param_3;\n          return;\n        }" { (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "piVar2 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "piVar2 = (int *)FUN_003ac4d0(0xc)" identifier = (cast_expression "(int *)FUN_003ac4d0(0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "iVar4 = piVar1[2];" (assignment_expression "iVar4 = piVar1[2]" identifier = (subscript_expression "piVar1[2]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = iVar4;" (assignment_expression "piVar2[2] = iVar4" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = (int)piVar2;" (assignment_expression "piVar1[2] = (int)piVar2" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*piVar1 = param_3;" (assignment_expression "*piVar1 = param_3" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_true> * this, uint\n   symndx, uint got_type, uint got_offset, uint64_t addend) */\n\nvoid __thiscall\ngold::Sized_relobj<32,_true>::do_set_local_got_offset\n          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  Local_got_entry_key key;\n  \n}\n\n" comment comment (declaration "void __thiscall\ngold::Sized_relobj<32,_true>::do_set_local_got_offset\n          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  Local_got_entry_key key;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_set_local_got_offset\n          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  Local_got_entry_key" identifier > : : (function_declarator "do_set_local_got_offset\n          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)" identifier (parameter_list "(Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)" ( (parameter_declaration "Sized_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "uint got_offset" type_identifier identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) { identifier) identifier ;) (ERROR "}" }))
(translation_unit "void FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char local_40 [12];" primitive_type (array_declarator "local_40 [12]" identifier [ number_literal ]) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x109f28;" (assignment_expression "uStack_10 = 0x109f28" identifier = number_literal) ;) (expression_statement "local_28 = param_2;" (assignment_expression "local_28 = param_2" identifier = identifier) ;) (expression_statement "local_20 = param_6;" (assignment_expression "local_20 = param_6" identifier = identifier) ;) (expression_statement "local_24 = param_5;" (assignment_expression "local_24 = param_5" identifier = identifier) ;) (expression_statement "FUN_001097c0(local_30,param_1 + 0x68,&local_28);" (call_expression "FUN_001097c0(local_30,param_1 + 0x68,&local_28)" identifier (argument_list "(local_30,param_1 + 0x68,&local_28)" ( identifier , (binary_expression "param_1 + 0x68" identifier + number_literal) , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }" { (expression_statement "local_14 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "local_14 = (int *)FUN_003ac4d0(0xc)" identifier = (cast_expression "(int *)FUN_003ac4d0(0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*local_14 = param_3;" (assignment_expression "*local_14 = param_3" (pointer_expression "*local_14" * identifier) = identifier) ;) (expression_statement "local_20 = local_2c;" (assignment_expression "local_20 = local_2c" identifier = identifier) ;) (expression_statement "local_14[1] = param_3;" (assignment_expression "local_14[1] = param_3" (subscript_expression "local_14[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_1c = local_28;" (assignment_expression "local_1c = local_28" identifier = identifier) ;) (expression_statement "local_14[2] = 0;" (assignment_expression "local_14[2] = 0" (subscript_expression "local_14[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_18 = local_24;" (assignment_expression "local_18 = local_24" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);" (assignment_expression "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" identifier = (call_expression "FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" identifier (argument_list "(local_40,param_1 + 0x68,0,&local_20)" ( identifier , (binary_expression "param_1 + 0x68" identifier + number_literal) , number_literal , (pointer_expression "&local_20" & identifier) )))) ;) (if_statement "if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" if (parenthesized_expression "(local_40[0] == '\0')" ( (binary_expression "local_40[0] == '\0'" (subscript_expression "local_40[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" { (expression_statement "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" identifier (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_local_got_offset"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" else (compound_statement "{\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" { (expression_statement "piVar1 = *(int **)(local_34 + 0x10);" (assignment_expression "piVar1 = *(int **)(local_34 + 0x10)" identifier = (pointer_expression "*(int **)(local_34 + 0x10)" * (cast_expression "(int **)(local_34 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_34 + 0x10)" ( (binary_expression "local_34 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" identifier = identifier) ;) (if_statement "if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" { (while_statement "while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" { (if_statement "if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar4)" ( (binary_expression "param_3 == iVar4" identifier == identifier) )) (compound_statement "{\n          piVar2[1] = param_3;\n          return;\n        }" { (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" identifier = (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (expression_statement "piVar2 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "piVar2 = (int *)FUN_003ac4d0(0xc)" identifier = (cast_expression "(int *)FUN_003ac4d0(0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "iVar4 = piVar1[2];" (assignment_expression "iVar4 = piVar1[2]" identifier = (subscript_expression "piVar1[2]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = iVar4;" (assignment_expression "piVar2[2] = iVar4" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = (int)piVar2;" (assignment_expression "piVar1[2] = (int)piVar2" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*piVar1 = param_3;" (assignment_expression "*piVar1 = param_3" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)\n\n{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00109f20(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" (identifier "FUN_00109f20") (parameter_list "(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char local_40 [12];\n  int local_34;\n  undefined1 local_30 [4];\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x109f28;\n  local_28 = param_2;\n  local_20 = param_6;\n  local_24 = param_5;\n  FUN_001097c0(local_30,param_1 + 0x68,&local_28);\n  if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char local_40 [12];" (primitive_type "char") (array_declarator "local_40 [12]" (identifier "local_40") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined1 local_30 [4];" (type_identifier "undefined1") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "int *local_14;" (primitive_type "int") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (declaration "undefined4 uStack_10;" (type_identifier "undefined4") (identifier "uStack_10") (; ";")) (expression_statement "uStack_10 = 0x109f28;" (assignment_expression "uStack_10 = 0x109f28" (identifier "uStack_10") (= "=") (number_literal "0x109f28")) (; ";")) (expression_statement "local_28 = param_2;" (assignment_expression "local_28 = param_2" (identifier "local_28") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_20 = param_6;" (assignment_expression "local_20 = param_6" (identifier "local_20") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_24 = param_5;" (assignment_expression "local_24 = param_5" (identifier "local_24") (= "=") (identifier "param_5")) (; ";")) (expression_statement "FUN_001097c0(local_30,param_1 + 0x68,&local_28);" (call_expression "FUN_001097c0(local_30,param_1 + 0x68,&local_28)" (identifier "FUN_001097c0") (argument_list "(local_30,param_1 + 0x68,&local_28)" (( "(") (identifier "local_30") (, ",") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (if_statement "if (local_34 == 0) {\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }\n  else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" (if "if") (parenthesized_expression "(local_34 == 0)" (( "(") (binary_expression "local_34 == 0" (identifier "local_34") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_14 = (int *)FUN_003ac4d0(0xc);\n    *local_14 = param_3;\n    local_20 = local_2c;\n    local_14[1] = param_3;\n    local_1c = local_28;\n    local_14[2] = 0;\n    local_18 = local_24;\n    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);\n    if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }\n  }" ({ "{") (expression_statement "local_14 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "local_14 = (int *)FUN_003ac4d0(0xc)" (identifier "local_14") (= "=") (cast_expression "(int *)FUN_003ac4d0(0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0xc)" (identifier "FUN_003ac4d0") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*local_14 = param_3;" (assignment_expression "*local_14 = param_3" (pointer_expression "*local_14" (* "*") (identifier "local_14")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_20 = local_2c;" (assignment_expression "local_20 = local_2c" (identifier "local_20") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "local_14[1] = param_3;" (assignment_expression "local_14[1] = param_3" (subscript_expression "local_14[1]" (identifier "local_14") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_1c = local_28;" (assignment_expression "local_1c = local_28" (identifier "local_1c") (= "=") (identifier "local_28")) (; ";")) (expression_statement "local_14[2] = 0;" (assignment_expression "local_14[2] = 0" (subscript_expression "local_14[2]" (identifier "local_14") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_18 = local_24;" (assignment_expression "local_18 = local_24" (identifier "local_18") (= "=") (identifier "local_24")) (; ";")) (expression_statement "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);" (assignment_expression "uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" (identifier "uVar3") (= "=") (call_expression "FUN_00109990(local_40,param_1 + 0x68,0,&local_20)" (identifier "FUN_00109990") (argument_list "(local_40,param_1 + 0x68,0,&local_20)" (( "(") (identifier "local_40") (, ",") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) (, ",") (number_literal "0") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) () ")")))) (; ";")) (if_statement "if (local_40[0] == '\0') {\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" (if "if") (parenthesized_expression "(local_40[0] == '\0')" (( "(") (binary_expression "local_40[0] == '\0'" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" (identifier "FUN_002446e0") (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x852") (, ",") (string_literal ""do_set_local_got_offset"" (" """) (string_content "do_set_local_got_offset") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" (else "else") (compound_statement "{\n    piVar1 = *(int **)(local_34 + 0x10);\n    iVar4 = *piVar1;\n    piVar2 = piVar1;\n    if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }\n    *piVar1 = param_3;\n    piVar1[1] = param_3;\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(local_34 + 0x10);" (assignment_expression "piVar1 = *(int **)(local_34 + 0x10)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(local_34 + 0x10)" (* "*") (cast_expression "(int **)(local_34 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_34 + 0x10)" (( "(") (binary_expression "local_34 + 0x10" (identifier "local_34") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar4 = *piVar1;" (assignment_expression "iVar4 = *piVar1" (identifier "iVar4") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" (identifier "piVar2") (= "=") (identifier "piVar1")) (; ";")) (if_statement "if (iVar4 != -1) {\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }\n      piVar2 = (int *)FUN_003ac4d0(0xc);\n      iVar4 = piVar1[2];\n      *piVar2 = param_3;\n      piVar2[1] = param_3;\n      piVar2[2] = iVar4;\n      piVar1[2] = (int)piVar2;\n      return;\n    }" ({ "{") (while_statement "while( true ) {\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }\n        piVar2 = (int *)piVar2[2];\n        if (piVar2 == (int *)0x0) break;\n        iVar4 = *piVar2;\n      }" ({ "{") (if_statement "if (param_3 == iVar4) {\n          piVar2[1] = param_3;\n          return;\n        }" (if "if") (parenthesized_expression "(param_3 == iVar4)" (( "(") (binary_expression "param_3 == iVar4" (identifier "param_3") (== "==") (identifier "iVar4")) () ")")) (compound_statement "{\n          piVar2[1] = param_3;\n          return;\n        }" ({ "{") (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)piVar2[2];" (assignment_expression "piVar2 = (int *)piVar2[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = *piVar2;" (assignment_expression "iVar4 = *piVar2" (identifier "iVar4") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)FUN_003ac4d0(0xc);" (assignment_expression "piVar2 = (int *)FUN_003ac4d0(0xc)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_003ac4d0(0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0xc)" (identifier "FUN_003ac4d0") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "iVar4 = piVar1[2];" (assignment_expression "iVar4 = piVar1[2]" (identifier "iVar4") (= "=") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar2[1] = param_3;" (assignment_expression "piVar2[1] = param_3" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar2[2] = iVar4;" (assignment_expression "piVar2[2] = iVar4" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar1[2] = (int)piVar2;" (assignment_expression "piVar1[2] = (int)piVar2" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*piVar1 = param_3;" (assignment_expression "*piVar1 = param_3" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar1[1] = param_3;" (assignment_expression "piVar1[1] = param_3" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_true> * this, uint
   symndx, uint got_type, uint got_offset, uint64_t addend) */

void __thiscall
gold::Sized_relobj<32,_true>::do_set_local_got_offset
          (Sized_relobj<32,_true> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)

{
  Local_got_entry_key key;
  
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,undefined4 param_2,int param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6)

{
  int *piVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  char local_40 [12];
  int local_34;
  undefined1 local_30 [4];
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  int *local_14;
  undefined4 uStack_10;
  
  uStack_10 = 0x109f28;
  local_28 = param_2;
  local_20 = param_6;
  local_24 = param_5;
  FUN_001097c0(local_30,param_1 + 0x68,&local_28);
  if (local_34 == 0) {
    local_14 = (int *)FUN_003ac4d0(0xc);
    *local_14 = param_3;
    local_20 = local_2c;
    local_14[1] = param_3;
    local_1c = local_28;
    local_14[2] = 0;
    local_18 = local_24;
    uVar3 = FUN_00109990(local_40,param_1 + 0x68,0,&local_20);
    if (local_40[0] == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x852,"do_set_local_got_offset",uVar3);
    }
  }
  else {
    piVar1 = *(int **)(local_34 + 0x10);
    iVar4 = *piVar1;
    piVar2 = piVar1;
    if (iVar4 != -1) {
      while( true ) {
        if (param_3 == iVar4) {
          piVar2[1] = param_3;
          return;
        }
        piVar2 = (int *)piVar2[2];
        if (piVar2 == (int *)0x0) break;
        iVar4 = *piVar2;
      }
      piVar2 = (int *)FUN_003ac4d0(0xc);
      iVar4 = piVar1[2];
      *piVar2 = param_3;
      piVar2[1] = param_3;
      piVar2[2] = iVar4;
      piVar1[2] = (int)piVar2;
      return;
    }
    *piVar1 = param_3;
    piVar1[1] = param_3;
  }
  return;
}

