
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* DWARF original prototype: void do_for_all_local_got_entries(Sized_relobj<32,_true> * this,
   Visitor * v) */

void __thiscall
gold::Sized_relobj<32,_true>::do_for_all_local_got_entries(Sized_relobj<32,_true> *this,Visitor *v)

{
  _func_int_varargs **pp_Var1;
  _func_int_varargs *p_Var2;
  int iVar3;
  uint uVar4;
  int *piVar5;
  uint local_3c;
  int local_30;
  Local_got_entry_key key;
  
  pp_Var1 = (this->super_Relobj).super_Object._vptr_Object;
  p_Var2 = pp_Var1[0x23];
  if (p_Var2 == Relobj::local_symbol_count) {
    local_3c = (*pp_Var1[0x2f])(this);
  }
  else {
    local_3c = (*p_Var2)(this);
  }
  if (local_3c != 0) {
    uVar4 = 0;
    do {
      key.addend_._0_4_ = 0;
      key.addend_._4_4_ = 0;
      key.symndx_ = uVar4;
      std::
      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
              *)&this->local_got_offsets_,&key);
      if (local_30 != 0) {
        piVar5 = *(int **)(local_30 + 0x10);
        iVar3 = *piVar5;
        if (iVar3 != -1) {
          while( true ) {
            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);
            piVar5 = (int *)piVar5[2];
            if (piVar5 == (int *)0x0) break;
            iVar3 = *piVar5;
          }
        }
      }
      uVar4 = uVar4 + 1;
    } while (local_3c != uVar4);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_000d89b0(int *param_1,int *param_2)

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int *piVar7;
  int aiStackY_54 [2];
  int local_3c;
  int *local_38 [2];
  undefined1 local_30 [8];
  int local_28 [6];
  
  pcVar1 = *(code **)(*param_1 + 0x8c);
  if (pcVar1 == FUN_0003a2f0) {
    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);
  }
  else {
    local_3c = (*pcVar1)(param_1);
  }
  if (local_3c != 0) {
    iVar4 = 0;
    local_38[0] = param_1 + 0x1a;
    local_38[1] = local_28;
    piVar5 = &local_3c;
    do {
      *(int *)((int)piVar5 + 0x14) = iVar4;
      *(undefined4 *)((int)piVar5 + 0x18) = 0;
      *(undefined4 *)((int)piVar5 + 0x1c) = 0;
      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);
      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);
      *(undefined1 **)((int)piVar5 + -0x10) = local_30;
      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;
      FUN_00054c40();
      piVar6 = (int *)((int)piVar5 + -4);
      if (*(int *)((int)piVar5 + 8) != 0) {
        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);
        iVar3 = *piVar7;
        if (iVar3 != -1) {
          while( true ) {
            iVar2 = *param_2;
            *(int *)((int)piVar5 + -0xc) = piVar7[1];
            *(int *)((int)piVar5 + -0x10) = iVar3;
            *(int **)((int)piVar5 + -0x14) = param_2;
            pcVar1 = *(code **)(iVar2 + 8);
            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;
            (*pcVar1)();
            piVar7 = (int *)piVar7[2];
            if (piVar7 == (int *)0x0) break;
            iVar3 = *piVar7;
          }
        }
      }
      iVar4 = iVar4 + 1;
      piVar5 = (int *)((int)piVar5 + -4);
    } while (*piVar6 != iVar4);
  }
  return;
}


CALL 0x000650b8
ADD ECX,0x2b664b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
LEA ECX,[ECX + 0xffcab2f0]
MOV EBX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EBX]
MOV EDX,dword ptr [EAX + 0x8c]
CMP EDX,ECX
JNZ 0x000d8a80
SUB ESP,0xc
PUSH EBX
CALL dword ptr [EAX + 0xbc]
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP]
TEST EAX,EAX
JZ 0x000d8a71
LEA EAX,[EBX + 0x68]
LEA EBP,[ESP + 0xc]
XOR EBX,EBX
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[ESP + 0x14]
MOV dword ptr [ESP + 0x8],EAX
LEA ESI,[ESI]
MOV dword ptr [ESP + 0x14],EBX
SUB ESP,0x4
MOV dword ptr [ESP + 0x1c],0x0
MOV dword ptr [ESP + 0x20],0x0
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0xc]
PUSH EBP
CALL 0x00054c40
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0xc
TEST EAX,EAX
JZ 0x000d8a69
MOV EDI,dword ptr [EAX + 0x10]
MOV EDX,dword ptr [EDI]
CMP EDX,-0x1
JNZ 0x000d8a52
JMP 0x000d8a69
MOV EDX,dword ptr [EDI]
SUB ESP,0x4
MOV EAX,dword ptr [ESI]
PUSH dword ptr [EDI + 0x4]
PUSH EDX
PUSH ESI
CALL dword ptr [EAX + 0x8]
MOV EDI,dword ptr [EDI + 0x8]
ADD ESP,0x10
TEST EDI,EDI
JNZ 0x000d8a50
ADD EBX,0x1
CMP dword ptr [ESP],EBX
JNZ 0x000d8a10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EBX
CALL EDX
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x10
JMP 0x000d89f1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_000d89b0(int *param_1,int *param_2)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000d89b0(int *param_1,int *param_2)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000d89b0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int aiStackY_54 [2];" primitive_type (array_declarator "aiStackY_54 [2]" identifier [ number_literal ]) ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int *local_38 [2];" primitive_type (pointer_declarator "*local_38 [2]" * (array_declarator "local_38 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_30 [8];" type_identifier (array_declarator "local_30 [8]" identifier [ number_literal ]) ;) (declaration "int local_28 [6];" primitive_type (array_declarator "local_28 [6]" identifier [ number_literal ]) ;) (expression_statement "pcVar1 = *(code **)(*param_1 + 0x8c);" (assignment_expression "pcVar1 = *(code **)(*param_1 + 0x8c)" identifier = (pointer_expression "*(code **)(*param_1 + 0x8c)" * (cast_expression "(code **)(*param_1 + 0x8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x8c)" ( (binary_expression "*param_1 + 0x8c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }" if (parenthesized_expression "(pcVar1 == FUN_0003a2f0)" ( (binary_expression "pcVar1 == FUN_0003a2f0" identifier == identifier) )) (compound_statement "{\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }" { (expression_statement "local_3c = (**(code **)(*param_1 + 0xbc))(param_1);" (assignment_expression "local_3c = (**(code **)(*param_1 + 0xbc))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xbc))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xbc))" ( (pointer_expression "**(code **)(*param_1 + 0xbc)" * (pointer_expression "*(code **)(*param_1 + 0xbc)" * (cast_expression "(code **)(*param_1 + 0xbc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xbc)" ( (binary_expression "*param_1 + 0xbc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    local_3c = (*pcVar1)(param_1);\n  }" else (compound_statement "{\n    local_3c = (*pcVar1)(param_1);\n  }" { (expression_statement "local_3c = (*pcVar1)(param_1);" (assignment_expression "local_3c = (*pcVar1)(param_1)" identifier = (call_expression "(*pcVar1)(param_1)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" if (parenthesized_expression "(local_3c != 0)" ( (binary_expression "local_3c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "local_38[0] = param_1 + 0x1a;" (assignment_expression "local_38[0] = param_1 + 0x1a" (subscript_expression "local_38[0]" identifier [ number_literal ]) = (binary_expression "param_1 + 0x1a" identifier + number_literal)) ;) (expression_statement "local_38[1] = local_28;" (assignment_expression "local_38[1] = local_28" (subscript_expression "local_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5 = &local_3c;" (assignment_expression "piVar5 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (do_statement "do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);" do (compound_statement "{\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    }" { (expression_statement "*(int *)((int)piVar5 + 0x14) = iVar4;" (assignment_expression "*(int *)((int)piVar5 + 0x14) = iVar4" (pointer_expression "*(int *)((int)piVar5 + 0x14)" * (cast_expression "(int *)((int)piVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x14)" ( (binary_expression "(int)piVar5 + 0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar5 + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x18)" * (cast_expression "(undefined4 *)((int)piVar5 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x18)" ( (binary_expression "(int)piVar5 + 0x18" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x1c)" * (cast_expression "(undefined4 *)((int)piVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x1c)" ( (binary_expression "(int)piVar5 + 0x1c" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);" (assignment_expression "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8)" (pointer_expression "*(undefined4 *)((int)piVar5 + -8)" * (cast_expression "(undefined4 *)((int)piVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -8)" ( (binary_expression "(int)piVar5 + -8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)piVar5 + 8)" * (cast_expression "(undefined4 *)((int)piVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);" (assignment_expression "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4)" (pointer_expression "*(undefined4 *)((int)piVar5 + -0xc)" * (cast_expression "(undefined4 *)((int)piVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0xc)" ( (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)piVar5 + 4)" * (cast_expression "(undefined4 *)((int)piVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 4)" ( (binary_expression "(int)piVar5 + 4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined1 **)((int)piVar5 + -0x10) = local_30;" (assignment_expression "*(undefined1 **)((int)piVar5 + -0x10) = local_30" (pointer_expression "*(undefined1 **)((int)piVar5 + -0x10)" * (cast_expression "(undefined1 **)((int)piVar5 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar5 + -0x10)" ( (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x14)" * (cast_expression "(undefined4 *)((int)piVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x14)" ( (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00054c40();" (call_expression "FUN_00054c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar6 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar6 = (int *)((int)piVar5 + -4)" identifier = (cast_expression "(int *)((int)piVar5 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -4)" ( (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)piVar5 + 8) != 0)" ( (binary_expression "*(int *)((int)piVar5 + 8) != 0" (pointer_expression "*(int *)((int)piVar5 + 8)" * (cast_expression "(int *)((int)piVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" { (expression_statement "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);" (assignment_expression "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10)" identifier = (pointer_expression "*(int **)(*(int *)((int)piVar5 + 8) + 0x10)" * (cast_expression "(int **)(*(int *)((int)piVar5 + 8) + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)((int)piVar5 + 8) + 0x10)" ( (binary_expression "*(int *)((int)piVar5 + 8) + 0x10" (pointer_expression "*(int *)((int)piVar5 + 8)" * (cast_expression "(int *)((int)piVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" { (while_statement "while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" { (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(int *)((int)piVar5 + -0xc) = piVar7[1];" (assignment_expression "*(int *)((int)piVar5 + -0xc) = piVar7[1]" (pointer_expression "*(int *)((int)piVar5 + -0xc)" * (cast_expression "(int *)((int)piVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0xc)" ( (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "*(int *)((int)piVar5 + -0x10) = iVar3;" (assignment_expression "*(int *)((int)piVar5 + -0x10) = iVar3" (pointer_expression "*(int *)((int)piVar5 + -0x10)" * (cast_expression "(int *)((int)piVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x10)" ( (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)piVar5 + -0x14) = param_2;" (assignment_expression "*(int **)((int)piVar5 + -0x14) = param_2" (pointer_expression "*(int **)((int)piVar5 + -0x14)" * (cast_expression "(int **)((int)piVar5 + -0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar5 + -0x14)" ( (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = *(code **)(iVar2 + 8);" (assignment_expression "pcVar1 = *(code **)(iVar2 + 8)" identifier = (pointer_expression "*(code **)(iVar2 + 8)" * (cast_expression "(code **)(iVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x18)" * (cast_expression "(undefined4 *)((int)piVar5 + -0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x18)" ( (binary_expression "(int)piVar5 + -0x18" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar7 == (int *)0x0) break;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) })) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar5 = (int *)((int)piVar5 + -4)" identifier = (cast_expression "(int *)((int)piVar5 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -4)" ( (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(*piVar6 != iVar4)" ( (binary_expression "*piVar6 != iVar4" (pointer_expression "*piVar6" * identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* DWARF original prototype: void do_for_all_local_got_entries(Sized_relobj<32,_true> * this,\n   Visitor * v) */\n\nvoid __thiscall\ngold::Sized_relobj<32,_true>::do_for_all_local_got_entries(Sized_relobj<32,_true> *this,Visitor *v)\n\n{\n  _func_int_varargs **pp_Var1;\n  _func_int_varargs *p_Var2;\n  int iVar3;\n  uint uVar4;\n  int *piVar5;\n  uint local_3c;\n  int local_30;\n  Local_got_entry_key key;\n  \n  pp_Var1 = (this->super_Relobj).super_Object._vptr_Object;\n  p_Var2 = pp_Var1[0x23];\n  if (p_Var2 == Relobj::local_symbol_count) {\n    local_3c = (*pp_Var1[0x2f])(this);\n  }\n  else {\n    local_3c = (*p_Var2)(this);\n  }\n  if (local_3c != 0) {\n    uVar4 = 0;\n    do {\n      key.addend_._0_4_ = 0;\n      key.addend_._4_4_ = 0;\n      key.symndx_ = uVar4;\n      std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);\n      if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }\n      uVar4 = uVar4 + 1;\n    } while (local_3c != uVar4);\n  }\n  return;\n}\n\n" comment comment (declaration "void __thiscall\ngold::Sized_relobj<32,_true>::do_for_all_local_got_entries(Sized_relobj<32,_true> *this,Visitor *v)\n\n{\n  _func_int_varargs **pp_Var1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_for_all_local_got_entries(Sized_relobj<32,_true> *this,Visitor *v)\n\n{\n  _func_int_varargs" identifier > : : (function_declarator "do_for_all_local_got_entries(Sized_relobj<32,_true> *this,Visitor *v)" identifier (parameter_list "(Sized_relobj<32,_true> *this,Visitor *v)" ( (parameter_declaration "Sized_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Visitor *v" type_identifier (pointer_declarator "*v" * identifier)) ))) { identifier) (pointer_declarator "**pp_Var1" * (pointer_declarator "*pp_Var1" * identifier)) ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "Local_got_entry_key key;" type_identifier identifier ;) (expression_statement "pp_Var1 = (this->super_Relobj).super_Object._vptr_Object;" (assignment_expression "pp_Var1 = (this->super_Relobj).super_Object._vptr_Object" identifier = (field_expression "(this->super_Relobj).super_Object._vptr_Object" (field_expression "(this->super_Relobj).super_Object" (parenthesized_expression "(this->super_Relobj)" ( (field_expression "this->super_Relobj" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "p_Var2 = pp_Var1[0x23];" (assignment_expression "p_Var2 = pp_Var1[0x23]" identifier = (subscript_expression "pp_Var1[0x23]" identifier [ number_literal ])) ;) (if_statement "if (p_Var2 == Relobj::local_symbol_count) {\n    local_3c = (*pp_Var1[0x2f])(this);\n  }\n  else {\n    local_3c = (*p_Var2)(this);\n  }" if (parenthesized_expression "(p_Var2 == Relobj::local_symbol_count)" ( (ERROR "p_Var2 == Relobj::" (binary_expression "p_Var2 == Relobj" identifier == identifier) : :) identifier )) (compound_statement "{\n    local_3c = (*pp_Var1[0x2f])(this);\n  }" { (expression_statement "local_3c = (*pp_Var1[0x2f])(this);" (assignment_expression "local_3c = (*pp_Var1[0x2f])(this)" identifier = (call_expression "(*pp_Var1[0x2f])(this)" (parenthesized_expression "(*pp_Var1[0x2f])" ( (pointer_expression "*pp_Var1[0x2f]" * (subscript_expression "pp_Var1[0x2f]" identifier [ number_literal ])) )) (argument_list "(this)" ( identifier )))) ;) }) (else_clause "else {\n    local_3c = (*p_Var2)(this);\n  }" else (compound_statement "{\n    local_3c = (*p_Var2)(this);\n  }" { (expression_statement "local_3c = (*p_Var2)(this);" (assignment_expression "local_3c = (*p_Var2)(this)" identifier = (call_expression "(*p_Var2)(this)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(this)" ( identifier )))) ;) }))) (if_statement "if (local_3c != 0) {\n    uVar4 = 0;\n    do {\n      key.addend_._0_4_ = 0;\n      key.addend_._4_4_ = 0;\n      key.symndx_ = uVar4;\n      std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);\n      if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }\n      uVar4 = uVar4 + 1;\n    } while (local_3c != uVar4);\n  }" if (parenthesized_expression "(local_3c != 0)" ( (binary_expression "local_3c != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    do {\n      key.addend_._0_4_ = 0;\n      key.addend_._4_4_ = 0;\n      key.symndx_ = uVar4;\n      std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);\n      if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }\n      uVar4 = uVar4 + 1;\n    } while (local_3c != uVar4);\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      key.addend_._0_4_ = 0;\n      key.addend_._4_4_ = 0;\n      key.symndx_ = uVar4;\n      std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);\n      if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }\n      uVar4 = uVar4 + 1;\n    } while (local_3c != uVar4);" do (compound_statement "{\n      key.addend_._0_4_ = 0;\n      key.addend_._4_4_ = 0;\n      key.symndx_ = uVar4;\n      std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);\n      if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }\n      uVar4 = uVar4 + 1;\n    }" { (expression_statement "key.addend_._0_4_ = 0;" (assignment_expression "key.addend_._0_4_ = 0" (field_expression "key.addend_._0_4_" (field_expression "key.addend_" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "key.addend_._4_4_ = 0;" (assignment_expression "key.addend_._4_4_ = 0" (field_expression "key.addend_._4_4_" (field_expression "key.addend_" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "key.symndx_ = uVar4;" (assignment_expression "key.symndx_ = uVar4" (field_expression "key.symndx_" identifier . field_identifier) = identifier) ;) (ERROR "std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::" (comma_expression "std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold" (binary_expression "std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std" (binary_expression "std::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_" identifier (ERROR "::\n      _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*" : : (binary_expression "_Hashtable<gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_std" identifier , identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (comma_expression "Got_offset_list*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : identifier *) > identifier) > (ERROR "," ,) identifier) (ERROR "::__detail::_Select1st" : : identifier : : identifier) , identifier) : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : : identifier , identifier : : identifier : :) (expression_statement "_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key);" (comma_expression "_Hashtable_traits<true,_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key)" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key)" identifier , (binary_expression "_true>_>\n      ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key)" (binary_expression "_true>_" identifier > identifier) > (ERROR "::" : :) (call_expression "find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key)" identifier (argument_list "((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_,&key)" ( (binary_expression "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)&this->local_got_offsets_" (parenthesized_expression "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n              *)" ( (ERROR "_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::" (binary_expression "_Hashtable<gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_std" identifier , identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (comma_expression "Got_offset_list*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (binary_expression "Got_offset_list*>_>,_std" (binary_expression "Got_offset_list*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : : identifier : : (comma_expression "_Select1st,_gold" identifier , identifier) : : identifier : : (comma_expression "equal_to,_gold" identifier , identifier) : : identifier : : (comma_expression "hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Mod_range_hashing,_std" identifier , identifier) : : identifier : : (comma_expression "_Default_ranged_hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Prime_rehash_policy,_std" identifier , identifier) : : identifier : :) (comma_expression "_Hashtable_traits<true,_false,_true>_>\n              *" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n              *" identifier , (binary_expression "_true>_>\n              *" (binary_expression "_true>_" identifier > identifier) > (pointer_expression "*" * identifier)))) )) & (field_expression "this->local_got_offsets_" identifier -> field_identifier)) , (pointer_expression "&key" & identifier) )))))) ;) (if_statement "if (local_30 != 0) {\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar5 = *(int **)(local_30 + 0x10);\n        iVar3 = *piVar5;\n        if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }\n      }" { (expression_statement "piVar5 = *(int **)(local_30 + 0x10);" (assignment_expression "piVar5 = *(int **)(local_30 + 0x10)" identifier = (pointer_expression "*(int **)(local_30 + 0x10)" * (cast_expression "(int **)(local_30 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + 0x10)" ( (binary_expression "local_30 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *piVar5;" (assignment_expression "iVar3 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (if_statement "if (iVar3 != -1) {\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }\n        }" { (while_statement "while( true ) {\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            (*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);\n            piVar5 = (int *)piVar5[2];\n            if (piVar5 == (int *)0x0) break;\n            iVar3 = *piVar5;\n          }" { (expression_statement "(*v->_vptr_Visitor[2])(v,iVar3,piVar5[1]);" (call_expression "(*v->_vptr_Visitor[2])(v,iVar3,piVar5[1])" (parenthesized_expression "(*v->_vptr_Visitor[2])" ( (pointer_expression "*v->_vptr_Visitor[2]" * (subscript_expression "v->_vptr_Visitor[2]" (field_expression "v->_vptr_Visitor" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(v,iVar3,piVar5[1])" ( identifier , identifier , (subscript_expression "piVar5[1]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar5 = (int *)piVar5[2];" (assignment_expression "piVar5 = (int *)piVar5[2]" identifier = (cast_expression "(int *)piVar5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar5 == (int *)0x0) break;" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = *piVar5;" (assignment_expression "iVar3 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) })) })) })) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_3c != uVar4)" ( (binary_expression "local_3c != uVar4" identifier != identifier) )) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000d89b0(int *param_1,int *param_2)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000d89b0(int *param_1,int *param_2)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000d89b0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int aiStackY_54 [2];" primitive_type (array_declarator "aiStackY_54 [2]" identifier [ number_literal ]) ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int *local_38 [2];" primitive_type (pointer_declarator "*local_38 [2]" * (array_declarator "local_38 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_30 [8];" type_identifier (array_declarator "local_30 [8]" identifier [ number_literal ]) ;) (declaration "int local_28 [6];" primitive_type (array_declarator "local_28 [6]" identifier [ number_literal ]) ;) (expression_statement "pcVar1 = *(code **)(*param_1 + 0x8c);" (assignment_expression "pcVar1 = *(code **)(*param_1 + 0x8c)" identifier = (pointer_expression "*(code **)(*param_1 + 0x8c)" * (cast_expression "(code **)(*param_1 + 0x8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x8c)" ( (binary_expression "*param_1 + 0x8c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }" if (parenthesized_expression "(pcVar1 == FUN_0003a2f0)" ( (binary_expression "pcVar1 == FUN_0003a2f0" identifier == identifier) )) (compound_statement "{\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }" { (expression_statement "local_3c = (**(code **)(*param_1 + 0xbc))(param_1);" (assignment_expression "local_3c = (**(code **)(*param_1 + 0xbc))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xbc))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xbc))" ( (pointer_expression "**(code **)(*param_1 + 0xbc)" * (pointer_expression "*(code **)(*param_1 + 0xbc)" * (cast_expression "(code **)(*param_1 + 0xbc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xbc)" ( (binary_expression "*param_1 + 0xbc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    local_3c = (*pcVar1)(param_1);\n  }" else (compound_statement "{\n    local_3c = (*pcVar1)(param_1);\n  }" { (expression_statement "local_3c = (*pcVar1)(param_1);" (assignment_expression "local_3c = (*pcVar1)(param_1)" identifier = (call_expression "(*pcVar1)(param_1)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" if (parenthesized_expression "(local_3c != 0)" ( (binary_expression "local_3c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "local_38[0] = param_1 + 0x1a;" (assignment_expression "local_38[0] = param_1 + 0x1a" (subscript_expression "local_38[0]" identifier [ number_literal ]) = (binary_expression "param_1 + 0x1a" identifier + number_literal)) ;) (expression_statement "local_38[1] = local_28;" (assignment_expression "local_38[1] = local_28" (subscript_expression "local_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar5 = &local_3c;" (assignment_expression "piVar5 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (do_statement "do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);" do (compound_statement "{\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    }" { (expression_statement "*(int *)((int)piVar5 + 0x14) = iVar4;" (assignment_expression "*(int *)((int)piVar5 + 0x14) = iVar4" (pointer_expression "*(int *)((int)piVar5 + 0x14)" * (cast_expression "(int *)((int)piVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x14)" ( (binary_expression "(int)piVar5 + 0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar5 + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x18)" * (cast_expression "(undefined4 *)((int)piVar5 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x18)" ( (binary_expression "(int)piVar5 + 0x18" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x1c)" * (cast_expression "(undefined4 *)((int)piVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 0x1c)" ( (binary_expression "(int)piVar5 + 0x1c" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);" (assignment_expression "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8)" (pointer_expression "*(undefined4 *)((int)piVar5 + -8)" * (cast_expression "(undefined4 *)((int)piVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -8)" ( (binary_expression "(int)piVar5 + -8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)piVar5 + 8)" * (cast_expression "(undefined4 *)((int)piVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);" (assignment_expression "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4)" (pointer_expression "*(undefined4 *)((int)piVar5 + -0xc)" * (cast_expression "(undefined4 *)((int)piVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0xc)" ( (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)piVar5 + 4)" * (cast_expression "(undefined4 *)((int)piVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 4)" ( (binary_expression "(int)piVar5 + 4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined1 **)((int)piVar5 + -0x10) = local_30;" (assignment_expression "*(undefined1 **)((int)piVar5 + -0x10) = local_30" (pointer_expression "*(undefined1 **)((int)piVar5 + -0x10)" * (cast_expression "(undefined1 **)((int)piVar5 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar5 + -0x10)" ( (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x14)" * (cast_expression "(undefined4 *)((int)piVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x14)" ( (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00054c40();" (call_expression "FUN_00054c40()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar6 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar6 = (int *)((int)piVar5 + -4)" identifier = (cast_expression "(int *)((int)piVar5 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -4)" ( (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)piVar5 + 8) != 0)" ( (binary_expression "*(int *)((int)piVar5 + 8) != 0" (pointer_expression "*(int *)((int)piVar5 + 8)" * (cast_expression "(int *)((int)piVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" { (expression_statement "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);" (assignment_expression "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10)" identifier = (pointer_expression "*(int **)(*(int *)((int)piVar5 + 8) + 0x10)" * (cast_expression "(int **)(*(int *)((int)piVar5 + 8) + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)((int)piVar5 + 8) + 0x10)" ( (binary_expression "*(int *)((int)piVar5 + 8) + 0x10" (pointer_expression "*(int *)((int)piVar5 + 8)" * (cast_expression "(int *)((int)piVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + 8)" ( (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" { (while_statement "while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" { (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(int *)((int)piVar5 + -0xc) = piVar7[1];" (assignment_expression "*(int *)((int)piVar5 + -0xc) = piVar7[1]" (pointer_expression "*(int *)((int)piVar5 + -0xc)" * (cast_expression "(int *)((int)piVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0xc)" ( (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "*(int *)((int)piVar5 + -0x10) = iVar3;" (assignment_expression "*(int *)((int)piVar5 + -0x10) = iVar3" (pointer_expression "*(int *)((int)piVar5 + -0x10)" * (cast_expression "(int *)((int)piVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x10)" ( (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)piVar5 + -0x14) = param_2;" (assignment_expression "*(int **)((int)piVar5 + -0x14) = param_2" (pointer_expression "*(int **)((int)piVar5 + -0x14)" * (cast_expression "(int **)((int)piVar5 + -0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar5 + -0x14)" ( (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = *(code **)(iVar2 + 8);" (assignment_expression "pcVar1 = *(code **)(iVar2 + 8)" identifier = (pointer_expression "*(code **)(iVar2 + 8)" * (cast_expression "(code **)(iVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x18)" * (cast_expression "(undefined4 *)((int)piVar5 + -0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -0x18)" ( (binary_expression "(int)piVar5 + -0x18" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar7 == (int *)0x0) break;" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) })) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar5 = (int *)((int)piVar5 + -4)" identifier = (cast_expression "(int *)((int)piVar5 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -4)" ( (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(*piVar6 != iVar4)" ( (binary_expression "*piVar6 != iVar4" (pointer_expression "*piVar6" * identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000d89b0(int *param_1,int *param_2)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000d89b0(int *param_1,int *param_2)" (identifier "FUN_000d89b0") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  int aiStackY_54 [2];\n  int local_3c;\n  int *local_38 [2];\n  undefined1 local_30 [8];\n  int local_28 [6];\n  \n  pcVar1 = *(code **)(*param_1 + 0x8c);\n  if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }\n  if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int aiStackY_54 [2];" (primitive_type "int") (array_declarator "aiStackY_54 [2]" (identifier "aiStackY_54") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "int *local_38 [2];" (primitive_type "int") (pointer_declarator "*local_38 [2]" (* "*") (array_declarator "local_38 [2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_30 [8];" (type_identifier "undefined1") (array_declarator "local_30 [8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "int local_28 [6];" (primitive_type "int") (array_declarator "local_28 [6]" (identifier "local_28") ([ "[") (number_literal "6") (] "]")) (; ";")) (expression_statement "pcVar1 = *(code **)(*param_1 + 0x8c);" (assignment_expression "pcVar1 = *(code **)(*param_1 + 0x8c)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(*param_1 + 0x8c)" (* "*") (cast_expression "(code **)(*param_1 + 0x8c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x8c)" (( "(") (binary_expression "*param_1 + 0x8c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x8c")) () ")"))))) (; ";")) (if_statement "if (pcVar1 == FUN_0003a2f0) {\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }\n  else {\n    local_3c = (*pcVar1)(param_1);\n  }" (if "if") (parenthesized_expression "(pcVar1 == FUN_0003a2f0)" (( "(") (binary_expression "pcVar1 == FUN_0003a2f0" (identifier "pcVar1") (== "==") (identifier "FUN_0003a2f0")) () ")")) (compound_statement "{\n    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);\n  }" ({ "{") (expression_statement "local_3c = (**(code **)(*param_1 + 0xbc))(param_1);" (assignment_expression "local_3c = (**(code **)(*param_1 + 0xbc))(param_1)" (identifier "local_3c") (= "=") (call_expression "(**(code **)(*param_1 + 0xbc))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xbc))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xbc)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xbc)" (* "*") (cast_expression "(code **)(*param_1 + 0xbc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xbc)" (( "(") (binary_expression "*param_1 + 0xbc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xbc")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    local_3c = (*pcVar1)(param_1);\n  }" (else "else") (compound_statement "{\n    local_3c = (*pcVar1)(param_1);\n  }" ({ "{") (expression_statement "local_3c = (*pcVar1)(param_1);" (assignment_expression "local_3c = (*pcVar1)(param_1)" (identifier "local_3c") (= "=") (call_expression "(*pcVar1)(param_1)" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (local_3c != 0) {\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" (if "if") (parenthesized_expression "(local_3c != 0)" (( "(") (binary_expression "local_3c != 0" (identifier "local_3c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = 0;\n    local_38[0] = param_1 + 0x1a;\n    local_38[1] = local_28;\n    piVar5 = &local_3c;\n    do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38[0] = param_1 + 0x1a;" (assignment_expression "local_38[0] = param_1 + 0x1a" (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "param_1 + 0x1a" (identifier "param_1") (+ "+") (number_literal "0x1a"))) (; ";")) (expression_statement "local_38[1] = local_28;" (assignment_expression "local_38[1] = local_28" (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "piVar5 = &local_3c;" (assignment_expression "piVar5 = &local_3c" (identifier "piVar5") (= "=") (pointer_expression "&local_3c" (& "&") (identifier "local_3c"))) (; ";")) (do_statement "do {\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    } while (*piVar6 != iVar4);" (do "do") (compound_statement "{\n      *(int *)((int)piVar5 + 0x14) = iVar4;\n      *(undefined4 *)((int)piVar5 + 0x18) = 0;\n      *(undefined4 *)((int)piVar5 + 0x1c) = 0;\n      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);\n      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);\n      *(undefined1 **)((int)piVar5 + -0x10) = local_30;\n      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;\n      FUN_00054c40();\n      piVar6 = (int *)((int)piVar5 + -4);\n      if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }\n      iVar4 = iVar4 + 1;\n      piVar5 = (int *)((int)piVar5 + -4);\n    }" ({ "{") (expression_statement "*(int *)((int)piVar5 + 0x14) = iVar4;" (assignment_expression "*(int *)((int)piVar5 + 0x14) = iVar4" (pointer_expression "*(int *)((int)piVar5 + 0x14)" (* "*") (cast_expression "(int *)((int)piVar5 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 0x14)" (( "(") (binary_expression "(int)piVar5 + 0x14" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x18)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 0x18)" (( "(") (binary_expression "(int)piVar5 + 0x18" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)piVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)piVar5 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 0x1c)" (( "(") (binary_expression "(int)piVar5 + 0x1c" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);" (assignment_expression "*(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8)" (pointer_expression "*(undefined4 *)((int)piVar5 + -8)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -8)" (( "(") (binary_expression "(int)piVar5 + -8" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)piVar5 + 8)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 8)" (( "(") (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);" (assignment_expression "*(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4)" (pointer_expression "*(undefined4 *)((int)piVar5 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -0xc)" (( "(") (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)piVar5 + 4)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 4)" (( "(") (binary_expression "(int)piVar5 + 4" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined1 **)((int)piVar5 + -0x10) = local_30;" (assignment_expression "*(undefined1 **)((int)piVar5 + -0x10) = local_30" (pointer_expression "*(undefined1 **)((int)piVar5 + -0x10)" (* "*") (cast_expression "(undefined1 **)((int)piVar5 + -0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)piVar5 + -0x10)" (( "(") (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -0x14)" (( "(") (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xd8a35")) (; ";")) (expression_statement "FUN_00054c40();" (call_expression "FUN_00054c40()" (identifier "FUN_00054c40") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar6 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar6 = (int *)((int)piVar5 + -4)" (identifier "piVar6") (= "=") (cast_expression "(int *)((int)piVar5 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -4)" (( "(") (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (if_statement "if (*(int *)((int)piVar5 + 8) != 0) {\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)((int)piVar5 + 8) != 0)" (( "(") (binary_expression "*(int *)((int)piVar5 + 8) != 0" (pointer_expression "*(int *)((int)piVar5 + 8)" (* "*") (cast_expression "(int *)((int)piVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 8)" (( "(") (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);\n        iVar3 = *piVar7;\n        if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }\n      }" ({ "{") (expression_statement "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);" (assignment_expression "piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(*(int *)((int)piVar5 + 8) + 0x10)" (* "*") (cast_expression "(int **)(*(int *)((int)piVar5 + 8) + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)((int)piVar5 + 8) + 0x10)" (( "(") (binary_expression "*(int *)((int)piVar5 + 8) + 0x10" (pointer_expression "*(int *)((int)piVar5 + 8)" (* "*") (cast_expression "(int *)((int)piVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + 8)" (( "(") (binary_expression "(int)piVar5 + 8" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" (identifier "iVar3") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (if_statement "if (iVar3 != -1) {\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" (if "if") (parenthesized_expression "(iVar3 != -1)" (( "(") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }\n        }" ({ "{") (while_statement "while( true ) {\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            iVar2 = *param_2;\n            *(int *)((int)piVar5 + -0xc) = piVar7[1];\n            *(int *)((int)piVar5 + -0x10) = iVar3;\n            *(int **)((int)piVar5 + -0x14) = param_2;\n            pcVar1 = *(code **)(iVar2 + 8);\n            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;\n            (*pcVar1)();\n            piVar7 = (int *)piVar7[2];\n            if (piVar7 == (int *)0x0) break;\n            iVar3 = *piVar7;\n          }" ({ "{") (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(int *)((int)piVar5 + -0xc) = piVar7[1];" (assignment_expression "*(int *)((int)piVar5 + -0xc) = piVar7[1]" (pointer_expression "*(int *)((int)piVar5 + -0xc)" (* "*") (cast_expression "(int *)((int)piVar5 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -0xc)" (( "(") (binary_expression "(int)piVar5 + -0xc" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(int *)((int)piVar5 + -0x10) = iVar3;" (assignment_expression "*(int *)((int)piVar5 + -0x10) = iVar3" (pointer_expression "*(int *)((int)piVar5 + -0x10)" (* "*") (cast_expression "(int *)((int)piVar5 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -0x10)" (( "(") (binary_expression "(int)piVar5 + -0x10" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int **)((int)piVar5 + -0x14) = param_2;" (assignment_expression "*(int **)((int)piVar5 + -0x14) = param_2" (pointer_expression "*(int **)((int)piVar5 + -0x14)" (* "*") (cast_expression "(int **)((int)piVar5 + -0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)piVar5 + -0x14)" (( "(") (binary_expression "(int)piVar5 + -0x14" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcVar1 = *(code **)(iVar2 + 8);" (assignment_expression "pcVar1 = *(code **)(iVar2 + 8)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(iVar2 + 8)" (* "*") (cast_expression "(code **)(iVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;" (assignment_expression "*(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f" (pointer_expression "*(undefined4 *)((int)piVar5 + -0x18)" (* "*") (cast_expression "(undefined4 *)((int)piVar5 + -0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -0x18)" (( "(") (binary_expression "(int)piVar5 + -0x18" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (number_literal "0xd8a5f")) (; ";")) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" (identifier "piVar7") (= "=") (cast_expression "(int *)piVar7[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" (identifier "iVar3") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar5 = (int *)((int)piVar5 + -4);" (assignment_expression "piVar5 = (int *)((int)piVar5 + -4)" (identifier "piVar5") (= "=") (cast_expression "(int *)((int)piVar5 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + -4)" (( "(") (binary_expression "(int)piVar5 + -4" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar6 != iVar4)" (( "(") (binary_expression "*piVar6 != iVar4" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (!= "!=") (identifier "iVar4")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* DWARF original prototype: void do_for_all_local_got_entries(Sized_relobj<32,_true> * this,
   Visitor * v) */

void __thiscall
gold::Sized_relobj<32,var_3>::do_for_all_local_got_entries(Sized_relobj<32,var_3> *this,Visitor *v)

{
  type_1 **pp_Var1;
  type_1 *p_Var2;
  int var_7;
  type_2 var_9;
  int *var_8;
  type_2 var_1;
  int var_6;
  type_3 key;
  
  pp_Var1 = (this->super_Relobj).super_Object._vptr_Object;
  p_Var2 = pp_Var1[0x23];
  if (p_Var2 == Relobj::local_symbol_count) {
    var_1 = (*pp_Var1[0x2f])(this);
  }
  else {
    var_1 = (*p_Var2)(this);
  }
  if (var_1 != 0) {
    var_9 = 0;
    do {
      key.addend_._0_4_ = 0;
      key.addend_._4_4_ = 0;
      key.symndx_ = var_9;
      std::
      _Hashtable<gold::type_3,_std::pair<const_gold::type_3,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::type_3,_gold::Got_offset_list*>var_4>,_std::__detail::_Select1st,_gold::type_3::equal_to,_gold::type_3::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::var_2<true,_false,var_3>var_4>
      ::var_5((_Hashtable<gold::type_3,_std::pair<const_gold::type_3,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::type_3,_gold::Got_offset_list*>var_4>,_std::__detail::_Select1st,_gold::type_3::equal_to,_gold::type_3::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::var_2<true,_false,var_3>var_4>
              *)&this->local_got_offsets_,&key);
      if (var_6 != 0) {
        var_8 = *(int **)(var_6 + 0x10);
        var_7 = *var_8;
        if (var_7 != -1) {
          while( true ) {
            (*v->_vptr_Visitor[2])(v,var_7,var_8[1]);
            var_8 = (int *)var_8[2];
            if (var_8 == (int *)0x0) break;
            var_7 = *var_8;
          }
        }
      }
      var_9 = var_9 + 1;
    } while (var_1 != var_9);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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 (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(int *param_1,int *param_2)

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int *piVar7;
  int aiStackY_54 [2];
  int local_3c;
  int *local_38 [2];
  undefined1 local_30 [8];
  int local_28 [6];
  
  pcVar1 = *(code **)(*param_1 + 0x8c);
  if (pcVar1 == FUN_0003a2f0) {
    local_3c = (**(code **)(*param_1 + 0xbc))(param_1);
  }
  else {
    local_3c = (*pcVar1)(param_1);
  }
  if (local_3c != 0) {
    iVar4 = 0;
    local_38[0] = param_1 + 0x1a;
    local_38[1] = local_28;
    piVar5 = &local_3c;
    do {
      *(int *)((int)piVar5 + 0x14) = iVar4;
      *(undefined4 *)((int)piVar5 + 0x18) = 0;
      *(undefined4 *)((int)piVar5 + 0x1c) = 0;
      *(undefined4 *)((int)piVar5 + -8) = *(undefined4 *)((int)piVar5 + 8);
      *(undefined4 *)((int)piVar5 + -0xc) = *(undefined4 *)((int)piVar5 + 4);
      *(undefined1 **)((int)piVar5 + -0x10) = local_30;
      *(undefined4 *)((int)piVar5 + -0x14) = 0xd8a35;
      FUN_00054c40();
      piVar6 = (int *)((int)piVar5 + -4);
      if (*(int *)((int)piVar5 + 8) != 0) {
        piVar7 = *(int **)(*(int *)((int)piVar5 + 8) + 0x10);
        iVar3 = *piVar7;
        if (iVar3 != -1) {
          while( true ) {
            iVar2 = *param_2;
            *(int *)((int)piVar5 + -0xc) = piVar7[1];
            *(int *)((int)piVar5 + -0x10) = iVar3;
            *(int **)((int)piVar5 + -0x14) = param_2;
            pcVar1 = *(code **)(iVar2 + 8);
            *(undefined4 *)((int)piVar5 + -0x18) = 0xd8a5f;
            (*pcVar1)();
            piVar7 = (int *)piVar7[2];
            if (piVar7 == (int *)0x0) break;
            iVar3 = *piVar7;
          }
        }
      }
      iVar4 = iVar4 + 1;
      piVar5 = (int *)((int)piVar5 + -4);
    } while (*piVar6 != iVar4);
  }
  return;
}

