// // sub_C2E58 from 0xc2e58 to 0xc2f00 (168 bytes) // // 1 xrefs: // > sub_C2668 @ 0xc26e0 // // 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_C2E58(__int64 a1, _DWORD *a2, __int64 *a3, _DWORD *a4) { int v4; // w21 __int64 v7; // x8 __int64 result; // x0 _DWORD v9[2]; // [xsp+0h] [xbp-30h] BYREF __int64 v10; // [xsp+8h] [xbp-28h] v4 = *(_DWORD *)(a1 + 32); if ( v4 == -1 ) { v4 = *(_DWORD *)(a1 + 24); v9[0] = *a2; v9[1] = -1; v10 = *a3; result = sub_C2F00(a1 + 16, v9); if ( (_DWORD)result ) return result; } else { v7 = *(_QWORD *)(a1 + 16) + 16LL * v4; *(_DWORD *)(a1 + 32) = *(_DWORD *)(v7 + 4); *(_DWORD *)(v7 + 4) = -1; *(_DWORD *)v7 = *a2; *(_QWORD *)(v7 + 8) = *a3; } *a4 = v4; ++*(_DWORD *)(a1 + 36); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source