
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<32,_true> * this, uint
   sym, Address * value, bool * is_ordinary) */

uint __thiscall
gold::Sized_relobj_file<32,_true>::symbol_section_and_value
          (Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)

{
  section_size_type symbols_size;
  Location loc;
  
}



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

void FUN_0012d490(int *param_1,uint param_2)

{
  uint uVar1;
  code *pcVar2;
  ushort uVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uStack_40;
  undefined1 auStack_3c [8];
  uint local_34;
  uint local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x12d499;
  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {
    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);
    puVar6 = &uStack_40;
    if (local_24 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);
    }
    local_34 = local_28;
    puVar4 = &DAT_002f7eed;
    if (local_28 != 0) {
      if (param_1[7] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_001219f0();
      }
      puVar4 = (undefined4 *)
               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);
      puVar6 = &uStack_40;
      local_28 = local_34;
    }
  }
  else {
    uStack_40 = 0;
    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);
    puVar6 = (undefined4 *)auStack_3c;
    local_28 = local_30;
  }
  if (local_28 >> 4 <= param_2) {
    *(undefined4 **)((int)puVar6 + -4) = puVar4;
    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";
    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;
    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;
    FUN_000da200();
  }
  uVar1 = puVar4[param_2 * 4 + 1];
  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);
  uVar3 = uVar3 << 8 | uVar3 >> 8;
  **(uint **)((int)puVar6 + 0x48) =
       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  if (uVar3 < 0xff00) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 1;
    return;
  }
  if (uVar3 != 0xffff) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 0;
    return;
  }
  iVar5 = param_1[0xc];
  if (iVar5 == 0) {
    iVar5 = *param_1;
    *(int **)((int)puVar6 + -0x10) = param_1;
    pcVar2 = *(code **)(iVar5 + 0x6c);
    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;
    iVar5 = (*pcVar2)();
    param_1[0xc] = iVar5;
  }
  *(uint *)((int)puVar6 + -8) = param_2;
  *(int **)((int)puVar6 + -0xc) = param_1;
  *(int *)((int)puVar6 + -0x10) = iVar5;
  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;
  FUN_00121c60();
  **(undefined1 **)((int)puVar6 + 0x4c) = 1;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x2e6b67
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EDI + 0xac]
LEA ECX,[EBX + 0xffc9f800]
MOV EAX,dword ptr [EAX + 0x38]
CMP EAX,ECX
JNZ 0x0012d588
LEA EAX,[ESP + 0x10]
SUB ESP,0x4
PUSH EDX
LEA EDX,[EDI + 0x90]
PUSH EDX
PUSH EAX
CALL 0x000b3730
MOV EDX,dword ptr [ESP + 0x24]
ADD ESP,0xc
MOV EBP,dword ptr [ESP + 0x1c]
MOV ECX,EDX
TEST EBP,EBP
JNZ 0x0012d5f2
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xffee3eed]
TEST EDX,EDX
JNZ 0x0012d550
SHR ECX,0x4
CMP ECX,ESI
JBE 0x0012d5d9
MOV EDX,ESI
MOV ECX,dword ptr [ESP + 0x48]
SHL EDX,0x4
ADD EAX,EDX
MOV EDX,dword ptr [EAX + 0x4]
MOVZX EAX,word ptr [EAX + 0xe]
ROL AX,0x8
BSWAP EDX
MOV dword ptr [ECX],EDX
MOVZX EAX,AX
CMP EAX,0xfeff
JBE 0x0012d540
CMP EAX,0xffff
JZ 0x0012d5a0
MOV EBX,dword ptr [ESP + 0x4c]
MOV byte ptr [EBX],0x0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x4c]
MOV byte ptr [ESI],0x1
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [EDI + 0x1c]
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
TEST EBP,EBP
JZ 0x0012d60b
ADD EBP,0x1c
PUSH 0x0
PUSH 0x1
PUSH ECX
PUSH EDX
PUSH EAX
PUSH dword ptr [EDI + 0x24]
PUSH dword ptr [EDI + 0x20]
PUSH EBP
CALL 0x000d4670
MOV ECX,dword ptr [ESP + 0x2c]
ADD ESP,0x20
JMP 0x0012d4fb
PUSH 0x0
LEA ECX,[ESP + 0x10]
PUSH ECX
PUSH EDX
PUSH EDI
CALL EAX
MOV ECX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
JMP 0x0012d4fb
MOV EAX,dword ptr [EDI + 0x30]
TEST EAX,EAX
JZ 0x0012d5c8
SUB ESP,0x4
PUSH ESI
PUSH EDI
PUSH EAX
CALL 0x00121c60
MOV ESI,dword ptr [ESP + 0x5c]
ADD ESP,0x10
MOV byte ptr [ESI],0x1
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0x6c]
MOV dword ptr [EDI + 0x30],EAX
ADD ESP,0x10
JMP 0x0012d5a7
PUSH EAX
LEA EAX,[EBX + 0xffeebcf0]
PUSH EAX
LEA EAX,[EBX + 0xffeeae98]
PUSH 0x3af
PUSH EAX
CALL 0x000da200
LEA EAX,[EBX + 0xffeebec8]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee33bc]
PUSH 0xc0
PUSH EAX
CALL 0x000da200
CALL 0x001219f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0012d490(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_0012d490(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0012d490(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x12d499;" (assignment_expression "uStack_14 = 0x12d499" identifier = number_literal) ;) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000b3800)" ( (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000b3800" (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" { (expression_statement "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b])" identifier (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" ( (pointer_expression "&local_2c" & identifier) , (binary_expression "param_1 + 0x24" identifier + number_literal) , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) ))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (if_statement "if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" { comment (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "puVar4 = &DAT_002f7eed;" (assignment_expression "puVar4 = &DAT_002f7eed" identifier = (pointer_expression "&DAT_002f7eed" & identifier)) ;) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" { (if_statement "if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }" if (parenthesized_expression "(param_1[7] == 0)" ( (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_001219f0();\n      }" { comment (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier = (cast_expression "(undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[8]" identifier [ number_literal ]) , (subscript_expression "param_1[9]" identifier [ number_literal ]) , identifier , identifier , identifier , number_literal , number_literal ))))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" identifier = identifier) ;) })) }) (else_clause "else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" else (compound_statement "{\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" identifier = (cast_expression "(undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_1[0x2b],&local_30)" ( identifier , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) , (pointer_expression "&local_30" & identifier) ))))) ;) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" identifier = (cast_expression "(undefined4 *)auStack_3c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" identifier = identifier) ;) }))) (if_statement "if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" if (parenthesized_expression "(local_28 >> 4 <= param_2)" ( (binary_expression "local_28 >> 4 <= param_2" (binary_expression "local_28 >> 4" identifier >> number_literal) <= identifier) )) (compound_statement "{\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" { (expression_statement "*(undefined4 **)((int)puVar6 + -4) = puVar4;" (assignment_expression "*(undefined4 **)((int)puVar6 + -4) = puVar4" (pointer_expression "*(undefined4 **)((int)puVar6 + -4)" * (cast_expression "(undefined4 **)((int)puVar6 + -4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -4)" ( (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" * (cast_expression "(char **)((int)puVar6 + -8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""symbol_section_and_value"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" * (cast_expression "(char **)((int)puVar6 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""../../gold/object.cc"" " string_content ")) ;) comment (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000da200();" (call_expression "FUN_000da200()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = puVar4[param_2 * 4 + 1];" (assignment_expression "uVar1 = puVar4[param_2 * 4 + 1]" identifier = (subscript_expression "puVar4[param_2 * 4 + 1]" identifier [ (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);" (assignment_expression "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" identifier = (pointer_expression "*(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" * (cast_expression "(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + param_2 * 0x10 + 0xe)" ( (binary_expression "(int)puVar4 + param_2 * 0x10 + 0xe" (binary_expression "(int)puVar4 + param_2 * 0x10" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar3 = uVar3 << 8 | uVar3 >> 8;" (assignment_expression "uVar3 = uVar3 << 8 | uVar3 >> 8" identifier = (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" identifier << number_literal) | (binary_expression "uVar3 >> 8" identifier >> number_literal))) ;) (expression_statement "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "**(uint **)((int)puVar6 + 0x48)" * (pointer_expression "*(uint **)((int)puVar6 + 0x48)" * (cast_expression "(uint **)((int)puVar6 + 0x48)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x48)" ( (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(uVar3 != 0xffff)" ( (binary_expression "uVar3 != 0xffff" identifier != number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" * (cast_expression "(int **)((int)puVar6 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar2 = *(code **)(iVar5 + 0x6c)" identifier = (pointer_expression "*(code **)(iVar5 + 0x6c)" * (cast_expression "(code **)(iVar5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x6c)" ( (binary_expression "iVar5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" * (cast_expression "(uint *)((int)puVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" * (cast_expression "(int **)((int)puVar6 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" * (cast_expression "(int *)((int)puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00121c60();" (call_expression "FUN_00121c60()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<32,_true> * this, uint\n   sym, Address * value, bool * is_ordinary) */\n\nuint __thiscall\ngold::Sized_relobj_file<32,_true>::symbol_section_and_value\n          (Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  section_size_type symbols_size;\n  Location loc;\n  \n}\n\n" comment comment (declaration "uint __thiscall\ngold::Sized_relobj_file<32,_true>::symbol_section_and_value\n          (Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  section_size_type symbols_size;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::symbol_section_and_value\n          (Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  section_size_type" identifier > : : (function_declarator "symbol_section_and_value\n          (Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)" identifier (parameter_list "(Sized_relobj_file<32,_true> *this,uint sym,Address *value,bool *is_ordinary)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint sym" type_identifier identifier) , (parameter_declaration "Address *value" type_identifier (pointer_declarator "*value" * identifier)) , (parameter_declaration "bool *is_ordinary" primitive_type (pointer_declarator "*is_ordinary" * identifier)) ))) { identifier) identifier ;) (declaration "Location loc;" type_identifier identifier ;) (ERROR "}" }))
(translation_unit "void FUN_0012d490(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0012d490(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0012d490(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x12d499;" (assignment_expression "uStack_14 = 0x12d499" identifier = number_literal) ;) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000b3800)" ( (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000b3800" (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" { (expression_statement "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b])" identifier (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" ( (pointer_expression "&local_2c" & identifier) , (binary_expression "param_1 + 0x24" identifier + number_literal) , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) ))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (if_statement "if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" { (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "puVar4 = &DAT_002f7eed;" (assignment_expression "puVar4 = &DAT_002f7eed" identifier = (pointer_expression "&DAT_002f7eed" & identifier)) ;) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" { (if_statement "if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }" if (parenthesized_expression "(param_1[7] == 0)" ( (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    \n        FUN_001219f0();\n      }" { (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier = (cast_expression "(undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[8]" identifier [ number_literal ]) , (subscript_expression "param_1[9]" identifier [ number_literal ]) , identifier , identifier , identifier , number_literal , number_literal ))))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" identifier = identifier) ;) })) }) (else_clause "else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" else (compound_statement "{\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" identifier = (cast_expression "(undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_1[0x2b],&local_30)" ( identifier , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) , (pointer_expression "&local_30" & identifier) ))))) ;) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" identifier = (cast_expression "(undefined4 *)auStack_3c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" identifier = identifier) ;) }))) (if_statement "if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" if (parenthesized_expression "(local_28 >> 4 <= param_2)" ( (binary_expression "local_28 >> 4 <= param_2" (binary_expression "local_28 >> 4" identifier >> number_literal) <= identifier) )) (compound_statement "{\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" { (expression_statement "*(undefined4 **)((int)puVar6 + -4) = puVar4;" (assignment_expression "*(undefined4 **)((int)puVar6 + -4) = puVar4" (pointer_expression "*(undefined4 **)((int)puVar6 + -4)" * (cast_expression "(undefined4 **)((int)puVar6 + -4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -4)" ( (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" * (cast_expression "(char **)((int)puVar6 + -8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""symbol_section_and_value"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" * (cast_expression "(char **)((int)puVar6 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""../../gold/object.cc"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000da200();" (call_expression "FUN_000da200()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = puVar4[param_2 * 4 + 1];" (assignment_expression "uVar1 = puVar4[param_2 * 4 + 1]" identifier = (subscript_expression "puVar4[param_2 * 4 + 1]" identifier [ (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);" (assignment_expression "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" identifier = (pointer_expression "*(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" * (cast_expression "(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + param_2 * 0x10 + 0xe)" ( (binary_expression "(int)puVar4 + param_2 * 0x10 + 0xe" (binary_expression "(int)puVar4 + param_2 * 0x10" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "param_2 * 0x10" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar3 = uVar3 << 8 | uVar3 >> 8;" (assignment_expression "uVar3 = uVar3 << 8 | uVar3 >> 8" identifier = (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" identifier << number_literal) | (binary_expression "uVar3 >> 8" identifier >> number_literal))) ;) (expression_statement "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "**(uint **)((int)puVar6 + 0x48)" * (pointer_expression "*(uint **)((int)puVar6 + 0x48)" * (cast_expression "(uint **)((int)puVar6 + 0x48)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x48)" ( (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(uVar3 != 0xffff)" ( (binary_expression "uVar3 != 0xffff" identifier != number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" * (cast_expression "(int **)((int)puVar6 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar2 = *(code **)(iVar5 + 0x6c)" identifier = (pointer_expression "*(code **)(iVar5 + 0x6c)" * (cast_expression "(code **)(iVar5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x6c)" ( (binary_expression "iVar5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" * (cast_expression "(uint *)((int)puVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" * (cast_expression "(int **)((int)puVar6 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" * (cast_expression "(int *)((int)puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00121c60();" (call_expression "FUN_00121c60()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT , LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 , (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) <= IDENT) )) (compound_statement { (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (string_literal " string_content ")) ;) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (string_literal " string_content ")) ;) (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 = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression (pointer_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) ))))) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_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) ))))) = LIT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_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) ))))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression 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) )))) = 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 (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 (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_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) ))))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0012d490(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012d490(int *param_1,uint param_2)" (identifier "FUN_0012d490") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  code *pcVar2;\n  ushort uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x12d499;\n  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }\n  uVar1 = puVar4[param_2 * 4 + 1];\n  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);\n  uVar3 = uVar3 << 8 | uVar3 >> 8;\n  **(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;\n  FUN_00121c60();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "ushort uVar3;" (type_identifier "ushort") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uStack_40;" (type_identifier "undefined4") (identifier "uStack_40") (; ";")) (declaration "undefined1 auStack_3c [8];" (type_identifier "undefined1") (array_declarator "auStack_3c [8]" (identifier "auStack_3c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x12d499;" (assignment_expression "uStack_14 = 0x12d499" (identifier "uStack_14") (= "=") (number_literal "0x12d499")) (; ";")) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000b3800)" (( "(") (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000b3800" (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")")))) (== "==") (identifier "FUN_000b3800")) () ")")) (compound_statement "{\n    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    puVar4 = &DAT_002f7eed;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" ({ "{") (expression_statement "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b])" (identifier "FUN_000b3730") (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" (( "(") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) (, ",") (subscript_expression "param_1[0x2b]" (identifier "param_1") ([ "[") (number_literal "0x2b") (] "]")) () ")"))) (; ";")) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" (identifier "puVar6") (= "=") (pointer_expression "&uStack_40" (& "&") (identifier "uStack_40"))) (; ";")) (if_statement "if (local_24 != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" ({ "{") (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28)" (identifier "FUN_000da200") (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" (identifier "local_34") (= "=") (identifier "local_28")) (; ";")) (expression_statement "puVar4 = &DAT_002f7eed;" (assignment_expression "puVar4 = &DAT_002f7eed" (identifier "puVar4") (= "=") (pointer_expression "&DAT_002f7eed" (& "&") (identifier "DAT_002f7eed"))) (; ";")) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }\n      puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" ({ "{") (if_statement "if (param_1[7] == 0) {\n                    \n        FUN_001219f0();\n      }" (if "if") (parenthesized_expression "(param_1[7] == 0)" (( "(") (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_001219f0();\n      }" ({ "{") (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" (identifier "FUN_001219f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "puVar4 = (undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (identifier "FUN_000d4670") (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (( "(") (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "0x1c")) (, ",") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (, ",") (identifier "local_30") (, ",") (identifier "local_2c") (, ",") (identifier "local_28") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" (identifier "puVar6") (= "=") (pointer_expression "&uStack_40" (& "&") (identifier "uStack_40"))) (; ";")) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" (identifier "local_28") (= "=") (identifier "local_34")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" (else "else") (compound_statement "{\n    uStack_40 = 0;\n    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" ({ "{") (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" (identifier "uStack_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_1,param_1[0x2b],&local_30)" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_1[0x2b]" (identifier "param_1") ([ "[") (number_literal "0x2b") (] "]")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)auStack_3c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "auStack_3c"))) (; ";")) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" (identifier "local_28") (= "=") (identifier "local_30")) (; ";")) (} "}")))) (if_statement "if (local_28 >> 4 <= param_2) {\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" (if "if") (parenthesized_expression "(local_28 >> 4 <= param_2)" (( "(") (binary_expression "local_28 >> 4 <= param_2" (binary_expression "local_28 >> 4" (identifier "local_28") (>> ">>") (number_literal "4")) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    *(undefined4 **)((int)puVar6 + -4) = puVar4;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;\n    FUN_000da200();\n  }" ({ "{") (expression_statement "*(undefined4 **)((int)puVar6 + -4) = puVar4;" (assignment_expression "*(undefined4 **)((int)puVar6 + -4) = puVar4" (pointer_expression "*(undefined4 **)((int)puVar6 + -4)" (* "*") (cast_expression "(undefined4 **)((int)puVar6 + -4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -4)" (( "(") (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" (* "*") (cast_expression "(char **)((int)puVar6 + -8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -8)" (( "(") (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (string_literal ""symbol_section_and_value"" (" """) (string_content "symbol_section_and_value") (" """))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0xc)" (( "(") (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x3af")) (; ";")) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" (* "*") (cast_expression "(char **)((int)puVar6 + -0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x12d5f2")) (; ";")) (expression_statement "FUN_000da200();" (call_expression "FUN_000da200()" (identifier "FUN_000da200") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = puVar4[param_2 * 4 + 1];" (assignment_expression "uVar1 = puVar4[param_2 * 4 + 1]" (identifier "uVar1") (= "=") (subscript_expression "puVar4[param_2 * 4 + 1]" (identifier "puVar4") ([ "[") (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4")) (+ "+") (number_literal "1")) (] "]"))) (; ";")) (expression_statement "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);" (assignment_expression "uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" (identifier "uVar3") (= "=") (pointer_expression "*(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" (* "*") (cast_expression "(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + param_2 * 0x10 + 0xe)" (( "(") (binary_expression "(int)puVar4 + param_2 * 0x10 + 0xe" (binary_expression "(int)puVar4 + param_2 * 0x10" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10"))) (+ "+") (number_literal "0xe")) () ")"))))) (; ";")) (expression_statement "uVar3 = uVar3 << 8 | uVar3 >> 8;" (assignment_expression "uVar3 = uVar3 << 8 | uVar3 >> 8" (identifier "uVar3") (= "=") (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" (identifier "uVar3") (<< "<<") (number_literal "8")) (| "|") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "**(uint **)((int)puVar6 + 0x48) =\n       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "**(uint **)((int)puVar6 + 0x48)" (* "*") (pointer_expression "*(uint **)((int)puVar6 + 0x48)" (* "*") (cast_expression "(uint **)((int)puVar6 + 0x48)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x48)" (( "(") (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x48")) () ")"))))) (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if (uVar3 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar3 < 0xff00)" (( "(") (binary_expression "uVar3 < 0xff00" (identifier "uVar3") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" ({ "{") (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar3 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar3 != 0xffff)" (( "(") (binary_expression "uVar3 != 0xffff" (identifier "uVar3") (!= "!=") (number_literal "0xffff")) () ")")) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" ({ "{") (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" (identifier "iVar5") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar2 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;\n    iVar5 = (*pcVar2)();\n    param_1[0xc] = iVar5;\n  }" ({ "{") (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" (* "*") (cast_expression "(int **)((int)puVar6 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "pcVar2 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar2 = *(code **)(iVar5 + 0x6c)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(iVar5 + 0x6c)" (* "*") (cast_expression "(code **)(iVar5 + 0x6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x6c)" (( "(") (binary_expression "iVar5 + 0x6c" (identifier "iVar5") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x12d5d1")) (; ";")) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" (identifier "iVar5") (= "=") (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" (* "*") (cast_expression "(uint *)((int)puVar6 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -8)" (( "(") (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" (* "*") (cast_expression "(int **)((int)puVar6 + -0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0xc)" (( "(") (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" (* "*") (cast_expression "(int *)((int)puVar6 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x12d5b2")) (; ";")) (expression_statement "FUN_00121c60();" (call_expression "FUN_00121c60()" (identifier "FUN_00121c60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<32,_true> * this, uint
   sym, Address * value, bool * is_ordinary) */

type_1 __thiscall
gold::Sized_relobj_file<32,_true>::symbol_section_and_value
          (Sized_relobj_file<32,_true> *this,type_1 sym,Address *value,bool *is_ordinary)

{
  section_size_type symbols_size;
  type_2 loc;
  
}


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

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

void MASKED(int *param_1,uint param_2)

{
  uint uVar1;
  code *pcVar2;
  ushort uVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uStack_40;
  undefined1 auStack_3c [8];
  uint local_34;
  uint local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x12d499;
  if (*(code **)(*param_1 + 0x38) == FUN_000b3800) {
    FUN_000b3730(&local_2c,param_1 + 0x24,param_1[0x2b]);
    puVar6 = &uStack_40;
    if (local_24 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",local_28);
    }
    local_34 = local_28;
    puVar4 = &DAT_002f7eed;
    if (local_28 != 0) {
      if (param_1[7] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_001219f0();
      }
      puVar4 = (undefined4 *)
               FUN_000d4670(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);
      puVar6 = &uStack_40;
      local_28 = local_34;
    }
  }
  else {
    uStack_40 = 0;
    puVar4 = (undefined4 *)(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);
    puVar6 = (undefined4 *)auStack_3c;
    local_28 = local_30;
  }
  if (local_28 >> 4 <= param_2) {
    *(undefined4 **)((int)puVar6 + -4) = puVar4;
    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";
    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;
    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5f2;
    FUN_000da200();
  }
  uVar1 = puVar4[param_2 * 4 + 1];
  uVar3 = *(ushort *)((int)puVar4 + param_2 * 0x10 + 0xe);
  uVar3 = uVar3 << 8 | uVar3 >> 8;
  **(uint **)((int)puVar6 + 0x48) =
       uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  if (uVar3 < 0xff00) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 1;
    return;
  }
  if (uVar3 != 0xffff) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 0;
    return;
  }
  iVar5 = param_1[0xc];
  if (iVar5 == 0) {
    iVar5 = *param_1;
    *(int **)((int)puVar6 + -0x10) = param_1;
    pcVar2 = *(code **)(iVar5 + 0x6c);
    *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5d1;
    iVar5 = (*pcVar2)();
    param_1[0xc] = iVar5;
  }
  *(uint *)((int)puVar6 + -8) = param_2;
  *(int **)((int)puVar6 + -0xc) = param_1;
  *(int *)((int)puVar6 + -0x10) = iVar5;
  *(undefined4 *)((int)puVar6 + -0x14) = 0x12d5b2;
  FUN_00121c60();
  **(undefined1 **)((int)puVar6 + 0x4c) = 1;
  return;
}

