// // sub_1004FA8F8 from 0x1004fa8f8 to 0x1004fa970 (120 bytes) // // 1 xrefs: // > sub_1004FA84C @ 0x1004fa8a0 // // 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_1004FA8F8(_QWORD *a1, signed int a2, unsigned __int64 a3, __int64 a4) { __int64 v4; // x9 signed int v5; // w8 int v6; // w9 __int64 v7; // x8 __int64 result; // x0 v4 = a1[48]; v5 = a2; if ( v4 ) v5 = *(_DWORD *)(v4 + 4LL * a2); v6 = ((*(_QWORD *)(*(_QWORD *)(a1[47] + 64LL) + *(int *)(*(_QWORD *)(a1[47] + 56LL) + 4LL * v5)) >> 2) & 0xFFFFFFE0) + *(_DWORD *)(a1[47] + 48LL); v7 = a1[36]; if ( v7 ) { *(_DWORD *)(v7 + 272) = v6; result = sub_10045FB3C(v7, a2, a3, a4); if ( (_DWORD)result ) return result; return 0; } result = sub_1004AA8B8(a1[46], v6 + (int)a3, 0); if ( !(_DWORD)result ) return 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source