// // sub_1004A7754 from 0x1004a7754 to 0x1004a7808 (180 bytes) // // 1 xrefs: // > sub_100509374 @ 0x1005095a4 // // 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_1004A7754(__int64 a1, __int64 a2, int a3) { __int16 v5; // w8 __int64 result; // x0 int *v8; // x1 int *v9; // [xsp+8h] [xbp-28h] BYREF if ( !*(_QWORD *)(a1 + 168) ) return 0; if ( !a2 ) return 31; v5 = atomic_load((unsigned int *)(a1 + 100)); if ( (v5 & 0x100) != 0 ) return sub_1004A7068(a1, a2, 0); result = sub_10043E710(*(_QWORD *)(a1 + 168), &v9, 24, a3); if ( !(_DWORD)result ) { *(_BYTE *)v9 = 6; v8 = v9; *((_QWORD *)v9 + 1) = a1; *((_QWORD *)v8 + 2) = a2; return sub_10043E7B4(*(_QWORD *)(a1 + 168), (__int64)v8, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source