
/* DWARF original prototype: void visit(Global_got_offset_visitor<32,_false> * this, uint got_type,
   uint got_offset) */

void __thiscall
gold::Global_got_offset_visitor<32,_false>::visit
          (Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)

{
  uint *puVar1;
  Got_plt_view_info *pGVar2;
  uint uVar3;
  undefined4 extraout_EDX;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  pGVar2 = this->info_;
  uVar3 = (uint)(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size);
  if (pGVar2->got_count <= uVar3) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4));
  }
  if (got_type < 0x7f) {
    pGVar2->got_type_p[uVar3] = (uchar)got_type;
    puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8);
    *puVar1 = this->info_->sym_index;
    puVar1[1] = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x761,(char *)(unaff_EDI + 0x2395d4));
}



void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  uint uVar3;
  undefined4 extraout_EDX;
  int unaff_EDI;
  
  FUN_00074f0a();
  piVar2 = *(int **)(param_1 + 4);
  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);
  if ((uint)piVar2[3] <= uVar3) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,
                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));
  }
  if (param_2 < 0x7f) {
    *(char *)(*piVar2 + uVar3) = (char)param_2;
    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);
    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);
    puVar1[1] = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);
}


PUSH EDI
XOR EDX,EDX
CALL 0x00074f0a
ADD EDI,0x39a328
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
MOV EBX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESI + 0x4]
DIV dword ptr [ECX + 0x1c]
CMP dword ptr [ECX + 0xc],EAX
JBE 0x0024fd1a
CMP EBX,0x7e
JA 0x0024fd35
MOV EDX,dword ptr [ECX]
MOV byte ptr [EDX + EAX*0x1],BL
MOV EDX,dword ptr [ESI + 0x4]
MOV ECX,dword ptr [EDX + 0x4]
MOV EDX,dword ptr [EDX + 0x20]
LEA EAX,[ECX + EAX*0x8]
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x4],0x0
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EDI + 0xffe9f2ac]
PUSH EDX
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffe9d9b8]
PUSH 0x75d
PUSH EAX
CALL 0x002446e0
PUSH EAX
LEA EAX,[EDI + 0xffe9f2ac]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xffe9d9b8]
PUSH 0x761
PUSH EAX
CALL 0x002446e0
(translation_unit "void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}\n\n" (function_definition "void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" primitive_type (function_declarator "FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);" (assignment_expression "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" identifier = (call_expression "(uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" ( (binary_expression "CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" identifier (argument_list "(extraout_EDX,param_3)" ( identifier , identifier ))) / (cast_expression "(ulonglong)(uint)piVar2[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)piVar2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[7]" identifier [ number_literal ])))) )))) ;) (if_statement "if ((uint)piVar2[3] <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" if (parenthesized_expression "((uint)piVar2[3] <= uVar3)" ( (binary_expression "(uint)piVar2[3] <= uVar3" (cast_expression "(uint)piVar2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" { comment (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" identifier (argument_list "(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" ( (binary_expression "unaff_EDI + 0x237ce0" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) , (cast_expression "(int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" ( (binary_expression "CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" identifier (argument_list "(extraout_EDX,param_3)" ( identifier , identifier ))) % (cast_expression "(ulonglong)(uint)piVar2[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)piVar2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[7]" identifier [ number_literal ])))) ))) ))) ;) })) (if_statement "if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" if (parenthesized_expression "(param_2 < 0x7f)" ( (binary_expression "param_2 < 0x7f" identifier < number_literal) )) (compound_statement "{\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" { (expression_statement "*(char *)(*piVar2 + uVar3) = (char)param_2;" (assignment_expression "*(char *)(*piVar2 + uVar3) = (char)param_2" (pointer_expression "*(char *)(*piVar2 + uVar3)" * (cast_expression "(char *)(*piVar2 + uVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + uVar3)" ( (binary_expression "*piVar2 + uVar3" (pointer_expression "*piVar2" * identifier) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" identifier = (cast_expression "(undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" ( (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);" (assignment_expression "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x20)" ( (binary_expression "*(int *)(param_1 + 4) + 0x20" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" identifier (argument_list "(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" ( (binary_expression "unaff_EDI + 0x237ce0" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) , identifier ))) ;) })))
(translation_unit "/* DWARF original prototype: void visit(Global_got_offset_visitor<32,_false> * this, uint got_type,\n   uint got_offset) */\n\nvoid __thiscall\ngold::Global_got_offset_visitor<32,_false>::visit\n          (Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)\n\n{\n  uint *puVar1;\n  Got_plt_view_info *pGVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pGVar2 = this->info_;\n  uVar3 = (uint)(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size);\n  if (pGVar2->got_count <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4));\n  }\n  if (got_type < 0x7f) {\n    pGVar2->got_type_p[uVar3] = (uchar)got_type;\n    puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8);\n    *puVar1 = this->info_->sym_index;\n    puVar1[1] = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x761,(char *)(unaff_EDI + 0x2395d4));\n}\n\n" comment (declaration "void __thiscall\ngold::Global_got_offset_visitor<32,_false>::visit\n          (Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)\n\n{\n  uint *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::visit\n          (Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)\n\n{\n  uint" (function_declarator "_false>::visit\n          (Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)" identifier (ERROR ">::visit" > : : identifier) (parameter_list "(Global_got_offset_visitor<32,_false> *this,uint got_type,uint got_offset)" ( (parameter_declaration "Global_got_offset_visitor" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "uint got_offset" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "Got_plt_view_info *pGVar2;" type_identifier (pointer_declarator "*pGVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "pGVar2 = this->info_;" (assignment_expression "pGVar2 = this->info_" identifier = (field_expression "this->info_" identifier -> field_identifier)) ;) (expression_statement "uVar3 = (uint)(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size);" (assignment_expression "uVar3 = (uint)(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size)" identifier = (call_expression "(uint)(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size)" ( (binary_expression "CONCAT44(extraout_EDX,got_offset) / (ulonglong)pGVar2->got_entry_size" (call_expression "CONCAT44(extraout_EDX,got_offset)" identifier (argument_list "(extraout_EDX,got_offset)" ( identifier , identifier ))) / (cast_expression "(ulonglong)pGVar2->got_entry_size" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "pGVar2->got_entry_size" identifier -> field_identifier))) )))) ;) (if_statement "if (pGVar2->got_count <= uVar3) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4));\n  }" if (parenthesized_expression "(pGVar2->got_count <= uVar3)" ( (binary_expression "pGVar2->got_count <= uVar3" (field_expression "pGVar2->got_count" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4));\n  }" { comment (expression_statement "do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4));" (call_expression "do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4))" identifier (argument_list "(&UNK_00237ce0 + unaff_EDI,0x75d,(char *)(unaff_EDI + 0x2395d4))" ( (binary_expression "&UNK_00237ce0 + unaff_EDI" (pointer_expression "&UNK_00237ce0" & identifier) + identifier) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x2395d4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x2395d4)" ( (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) ))) ))) ;) })) (if_statement "if (got_type < 0x7f) {\n    pGVar2->got_type_p[uVar3] = (uchar)got_type;\n    puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8);\n    *puVar1 = this->info_->sym_index;\n    puVar1[1] = 0;\n    return;\n  }" if (parenthesized_expression "(got_type < 0x7f)" ( (binary_expression "got_type < 0x7f" identifier < number_literal) )) (compound_statement "{\n    pGVar2->got_type_p[uVar3] = (uchar)got_type;\n    puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8);\n    *puVar1 = this->info_->sym_index;\n    puVar1[1] = 0;\n    return;\n  }" { (expression_statement "pGVar2->got_type_p[uVar3] = (uchar)got_type;" (assignment_expression "pGVar2->got_type_p[uVar3] = (uchar)got_type" (subscript_expression "pGVar2->got_type_p[uVar3]" (field_expression "pGVar2->got_type_p" identifier -> field_identifier) [ identifier ]) = (cast_expression "(uchar)got_type" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8);" (assignment_expression "puVar1 = (uint *)(this->info_->got_desc_p + uVar3 * 8)" identifier = (cast_expression "(uint *)(this->info_->got_desc_p + uVar3 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->info_->got_desc_p + uVar3 * 8)" ( (binary_expression "this->info_->got_desc_p + uVar3 * 8" (field_expression "this->info_->got_desc_p" (field_expression "this->info_" identifier -> field_identifier) -> field_identifier) + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = this->info_->sym_index;" (assignment_expression "*puVar1 = this->info_->sym_index" (pointer_expression "*puVar1" * identifier) = (field_expression "this->info_->sym_index" (field_expression "this->info_" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x761,(char *)(unaff_EDI + 0x2395d4));" (call_expression "do_gold_unreachable(&UNK_00237ce0 + unaff_EDI,0x761,(char *)(unaff_EDI + 0x2395d4))" identifier (argument_list "(&UNK_00237ce0 + unaff_EDI,0x761,(char *)(unaff_EDI + 0x2395d4))" ( (binary_expression "&UNK_00237ce0 + unaff_EDI" (pointer_expression "&UNK_00237ce0" & identifier) + identifier) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x2395d4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x2395d4)" ( (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) ))) ))) ;) (ERROR "}" }))
(translation_unit "void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}\n\n" (function_definition "void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" primitive_type (function_declarator "FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);" (assignment_expression "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" identifier = (call_expression "(uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" ( (binary_expression "CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" identifier (argument_list "(extraout_EDX,param_3)" ( identifier , identifier ))) / (cast_expression "(ulonglong)(uint)piVar2[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)piVar2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[7]" identifier [ number_literal ])))) )))) ;) (if_statement "if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" if (parenthesized_expression "((uint)piVar2[3] <= uVar3)" ( (binary_expression "(uint)piVar2[3] <= uVar3" (cast_expression "(uint)piVar2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" { (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" identifier (argument_list "(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" ( (binary_expression "unaff_EDI + 0x237ce0" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) , (cast_expression "(int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" ( (binary_expression "CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" identifier (argument_list "(extraout_EDX,param_3)" ( identifier , identifier ))) % (cast_expression "(ulonglong)(uint)piVar2[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)piVar2[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar2[7]" identifier [ number_literal ])))) ))) ))) ;) })) (if_statement "if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" if (parenthesized_expression "(param_2 < 0x7f)" ( (binary_expression "param_2 < 0x7f" identifier < number_literal) )) (compound_statement "{\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" { (expression_statement "*(char *)(*piVar2 + uVar3) = (char)param_2;" (assignment_expression "*(char *)(*piVar2 + uVar3) = (char)param_2" (pointer_expression "*(char *)(*piVar2 + uVar3)" * (cast_expression "(char *)(*piVar2 + uVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + uVar3)" ( (binary_expression "*piVar2 + uVar3" (pointer_expression "*piVar2" * identifier) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" identifier = (cast_expression "(undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" ( (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "uVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);" (assignment_expression "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x20)" ( (binary_expression "*(int *)(param_1 + 4) + 0x20" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" identifier (argument_list "(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" ( (binary_expression "unaff_EDI + 0x237ce0" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x2395d4" identifier + number_literal) , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) / (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) % (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })))
(function_definition "void FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" (primitive_type "void") (function_declarator "FUN_0024fcd0(int param_1,uint param_2,undefined4 param_3)" (identifier "FUN_0024fcd0") (parameter_list "(int param_1,uint param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  uint uVar3;\n  undefined4 extraout_EDX;\n  int unaff_EDI;\n  \n  FUN_00074f0a();\n  piVar2 = *(int **)(param_1 + 4);\n  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);\n  if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }\n  if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }\n                    \n  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_00074f0a();" (call_expression "FUN_00074f0a()" (identifier "FUN_00074f0a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 4);" (assignment_expression "piVar2 = *(int **)(param_1 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);" (assignment_expression "uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" (identifier "uVar3") (= "=") (call_expression "(uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7])" (( "(") (binary_expression "CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" (identifier "CONCAT44") (argument_list "(extraout_EDX,param_3)" (( "(") (identifier "extraout_EDX") (, ",") (identifier "param_3") () ")"))) (/ "/") (cast_expression "(ulonglong)(uint)piVar2[7]" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (cast_expression "(uint)piVar2[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar2[7]" (identifier "piVar2") ([ "[") (number_literal "7") (] "]"))))) () ")")))) (; ";")) (if_statement "if ((uint)piVar2[3] <= uVar3) {\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" (if "if") (parenthesized_expression "((uint)piVar2[3] <= uVar3)" (( "(") (binary_expression "(uint)piVar2[3] <= uVar3" (cast_expression "(uint)piVar2[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));\n  }" ({ "{") (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" (identifier "FUN_002446e0") (argument_list "(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,\n                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]))" (( "(") (binary_expression "unaff_EDI + 0x237ce0" (identifier "unaff_EDI") (+ "+") (number_literal "0x237ce0")) (, ",") (number_literal "0x75d") (, ",") (binary_expression "unaff_EDI + 0x2395d4" (identifier "unaff_EDI") (+ "+") (number_literal "0x2395d4")) (, ",") (cast_expression "(int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7])" (( "(") (binary_expression "CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]" (call_expression "CONCAT44(extraout_EDX,param_3)" (identifier "CONCAT44") (argument_list "(extraout_EDX,param_3)" (( "(") (identifier "extraout_EDX") (, ",") (identifier "param_3") () ")"))) (% "%") (cast_expression "(ulonglong)(uint)piVar2[7]" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (cast_expression "(uint)piVar2[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar2[7]" (identifier "piVar2") ([ "[") (number_literal "7") (] "]"))))) () ")"))) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 < 0x7f) {\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 < 0x7f)" (( "(") (binary_expression "param_2 < 0x7f" (identifier "param_2") (< "<") (number_literal "0x7f")) () ")")) (compound_statement "{\n    *(char *)(*piVar2 + uVar3) = (char)param_2;\n    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);\n    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);\n    puVar1[1] = 0;\n    return;\n  }" ({ "{") (expression_statement "*(char *)(*piVar2 + uVar3) = (char)param_2;" (assignment_expression "*(char *)(*piVar2 + uVar3) = (char)param_2" (pointer_expression "*(char *)(*piVar2 + uVar3)" (* "*") (cast_expression "(char *)(*piVar2 + uVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + uVar3)" (( "(") (binary_expression "*piVar2 + uVar3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (identifier "uVar3")) () ")")))) (= "=") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 4" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);" (assignment_expression "*puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 4) + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0x20" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);" (call_expression "FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" (identifier "FUN_002446e0") (argument_list "(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3)" (( "(") (binary_expression "unaff_EDI + 0x237ce0" (identifier "unaff_EDI") (+ "+") (number_literal "0x237ce0")) (, ",") (number_literal "0x761") (, ",") (binary_expression "unaff_EDI + 0x2395d4" (identifier "unaff_EDI") (+ "+") (number_literal "0x2395d4")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void visit(Global_got_offset_visitor<32,_false> * this, uint got_type,
   uint got_offset) */

void __thiscall
gold::Global_got_offset_visitor<32,_false>::visit
          (Global_got_offset_visitor<32,_false> *this,type_2 var_6,type_2 got_offset)

{
  type_2 *puVar1;
  type_1 *pGVar2;
  type_2 var_3;
  type_3 extraout_EDX;
  int var_5;
  
  var_1();
  pGVar2 = this->info_;
  var_3 = (type_2)(var_2(extraout_EDX,got_offset) / (type_4)pGVar2->got_entry_size);
  if (pGVar2->got_count <= var_3) {
                    /* WARNING: Subroutine does not return */
    var_4(&UNK_00237ce0 + var_5,0x75d,(char *)(var_5 + 0x2395d4));
  }
  if (var_6 < 0x7f) {
    pGVar2->got_type_p[var_3] = (type_5)var_6;
    puVar1 = (type_2 *)(this->info_->got_desc_p + var_3 * 8);
    *puVar1 = this->info_->sym_index;
    puVar1[1] = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4(&UNK_00237ce0 + var_5,0x761,(char *)(var_5 + 0x2395d4));
}


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

void MASKED(int param_1,uint param_2,undefined4 param_3)

{
  undefined4 *puVar1;
  int *piVar2;
  uint uVar3;
  undefined4 extraout_EDX;
  int unaff_EDI;
  
  FUN_00074f0a();
  piVar2 = *(int **)(param_1 + 4);
  uVar3 = (uint)(CONCAT44(extraout_EDX,param_3) / (ulonglong)(uint)piVar2[7]);
  if ((uint)piVar2[3] <= uVar3) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0(unaff_EDI + 0x237ce0,0x75d,unaff_EDI + 0x2395d4,
                 (int)(CONCAT44(extraout_EDX,param_3) % (ulonglong)(uint)piVar2[7]));
  }
  if (param_2 < 0x7f) {
    *(char *)(*piVar2 + uVar3) = (char)param_2;
    puVar1 = (undefined4 *)(*(int *)(*(int *)(param_1 + 4) + 4) + uVar3 * 8);
    *puVar1 = *(undefined4 *)(*(int *)(param_1 + 4) + 0x20);
    puVar1[1] = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0(unaff_EDI + 0x237ce0,0x761,unaff_EDI + 0x2395d4,uVar3);
}

