// // sub_74801C from 0x74801c to 0x748088 (108 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int *__fastcall sub_74801C(int *a1, int a2) { int v4; // r3 int v5; // r1 _BYTE v7[3]; // [sp+4h] [bp-8h] BYREF _BYTE v8[5]; // [sp+7h] [bp-5h] BYREF sub_747D3C(v7, a1, 0); if ( a2 ) v4 = v7[0] & 1; else v4 = 0; if ( v4 ) { if ( !sub_76180C(*(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 124), a2, v8) ) { if ( v8[0] ) v5 = 6; else v5 = 4; goto LABEL_8; } if ( v8[0] ) { v5 = 2; LABEL_8: sub_744C5C((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), v5 | *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20)); return a1; } } else if ( !a2 ) { v5 = 4; goto LABEL_8; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source