// // sub_1004BA5BC from 0x1004ba5bc to 0x1004ba634 (120 bytes) // // 2 xrefs: // > sub_1004B9ED4 @ 0x1004b9f08 // > sub_1004BA54C @ 0x1004ba578 // // 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_1004BA5BC(__int64 result) { __int64 v1; // x19 __int64 v2; // x20 __int64 v3; // x21 __int64 (__fastcall *v4)(__int64, __int64, _QWORD); // x22 __int64 v5; // x0 v1 = result; v2 = result + 1056; v3 = result + 8; do { if ( (*(_DWORD *)(v1 + 1100) - *(_DWORD *)(v1 + 1096)) * *(_DWORD *)(v1 + 1080) > (*(_DWORD *)(v1 + 1092) - 1) * *(_DWORD *)(v1 + 1068) ) break; v4 = *(__int64 (__fastcall **)(__int64, __int64, _QWORD))(v1 + 16); v5 = sub_1004B86F8(v2); result = v4(v3, v5, *(unsigned int *)(v1 + 1064)); } while ( !(_DWORD)result ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source