// // sub_1004A8EFC from 0x1004a8efc to 0x1004a8f98 (156 bytes) // // 1 xrefs: // > sub_1004A8EF8 @ 0x1004a8ef8 // // 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 // __int64 __fastcall sub_1004A8EFC(__int64 a1) { __int64 *v2; // x8 __int64 *v4; // x9 __int64 *v5; // x20 if ( *(_BYTE *)(a1 + 360) ) { sub_1004B5C70(*(_QWORD *)(a1 + 408)); v2 = *(__int64 **)(a1 + 368); *(_QWORD *)(a1 + 392) = v2; if ( v2 != (__int64 *)(a1 + 368) ) { do { v4 = (__int64 *)*v2; *(_QWORD *)(a1 + 400) = *v2; if ( (*((_DWORD *)v2 + 99) & 0x20) != 0 ) { v5 = v2 - 1; sub_1004B5CA0(*(_QWORD *)(a1 + 408)); sub_1004A8F98(v5, 0); sub_1004B5C70(*(_QWORD *)(a1 + 408)); v4 = *(__int64 **)(a1 + 400); } *(_QWORD *)(a1 + 392) = v4; v2 = v4; } while ( v4 != (__int64 *)(a1 + 368) ); } sub_1004B5CA0(*(_QWORD *)(a1 + 408)); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source