// // sub_1004A0BF8 from 0x1004a0bf8 to 0x1004a0c88 (144 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 // __int64 *__fastcall sub_1004A0BF8(__int64 *a1) { __int64 v2; // x8 int v3; // w9 __int64 v4; // x1 __int64 v5; // x9 v2 = *a1; if ( *a1 ) { v3 = *(_DWORD *)(v2 + 8); if ( v3 >= 1 ) *(_DWORD *)(v2 + 8) = --v3; if ( !v3 ) { v4 = *(_QWORD *)(v2 + 24); v5 = a1[1]; if ( v4 ) { sub_1004B1970(v5 + 67784, v4, "", 0, 1); } else { *(_QWORD *)v2 = *(_QWORD *)(v5 + 67496); *(_QWORD *)(v5 + 67496) = v2; } } *a1 = 0; *((_OWORD *)a1 + 1) = xmmword_1006488B0; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source