// // sub_FA154 from 0xfa154 to 0xfa1b0 (92 bytes) // // 2 xrefs: // > sub_9D010 @ 0x9d230 // > sub_FAF64 @ 0xfaf6c // // 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_FA154(__int64 a1, int a2) { __int64 result; // x0 int v4; // w9 if ( !*(_DWORD *)(a1 + 8) ) return *(_QWORD *)(a1 + 104); if ( a2 < 0 ) { v4 = *(_DWORD *)(a1 + 128); result = *(_QWORD *)(a1 + 104); if ( v4 >= 3 ) result += 40LL * *(int *)(a1 + 136); } else if ( *(_DWORD *)(a1 + 64) <= a2 ) { return 0; } else { return *(_QWORD *)(a1 + 104) + 40LL * a2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source