// // sub_1004A0D18 from 0x1004a0d18 to 0x1004a0dcc (180 bytes) // // 1 xrefs: // > sub_1004A18D0 @ 0x1004a1c24 // // 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_1004A0D18(__int64 *a1, __int64 *a2) { __int64 v4; // x8 int v5; // w9 __int64 v6; // x1 __int64 v7; // x9 __int64 v8; // x9 v4 = *a2; if ( *a2 ) { v5 = *(_DWORD *)(v4 + 8); if ( v5 >= 1 ) *(_DWORD *)(v4 + 8) = --v5; if ( !v5 ) { v6 = *(_QWORD *)(v4 + 24); v7 = a2[1]; if ( v6 ) { sub_1004B1970(v7 + 67784, v6, "", 0, 1); } else { *(_QWORD *)v4 = *(_QWORD *)(v7 + 67496); *(_QWORD *)(v7 + 67496) = v4; } } *a2 = 0; *((_OWORD *)a2 + 1) = xmmword_1006488B0; } v8 = a1[1]; *a2 = *a1; a2[1] = v8; *((_OWORD *)a2 + 1) = *((_OWORD *)a1 + 1); ++*(_DWORD *)(*a1 + 8); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source