// // sub_10045882C from 0x10045882c to 0x1004588b0 (132 bytes) // // 1 xrefs: // > @ 0x100827918 // // 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_10045882C(__int64 a1, __int64 a2) { __int64 result; // x0 char v5; // w8 __int64 v6; // x0 result = sub_1004564FC(a1, a2); if ( !(_DWORD)result ) { result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 40) + 280LL))(*(_QWORD *)(a1 + 40), a2); if ( !(_DWORD)result ) { v5 = atomic_load((unsigned int *)(*(_QWORD *)(a1 + 40) + 88LL)); v6 = *(_QWORD *)(a1 + 192); if ( v5 < 0 ) { result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 200LL))(v6, a2); if ( (_DWORD)result ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 200LL))(v6, (unsigned int)a2 & 0xFFFFFFF8); if ( (_DWORD)result ) return result; } return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source