// // sub_8BD80 from 0x8bd80 to 0x8be2c (172 bytes) // // 1 xrefs: // > sub_8B674 @ 0x8b674 // // 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_8BD80(__int64 a1, __int64 a2, unsigned int a3, _DWORD *a4) { unsigned int v5; // w22 int v8; // w23 unsigned int v9; // w0 unsigned int v10; // w22 __int64 result; // x0 int v12; // [xsp+8h] [xbp-28h] BYREF unsigned int v13; // [xsp+Ch] [xbp-24h] BYREF v5 = a3; v12 = 0; v13 = a3; for ( *a4 = 0; v13; v5 = v13 ) { if ( (unsigned int)sub_8C0E8(*(_QWORD *)(a1 + 432)) ) { v8 = v12; v9 = sub_FCA14( *(_QWORD *)(a1 + 432), a2 + 4LL * (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 8) + 12LL) * v12), v5); v10 = v5 - v9; v12 = v9 + v8; v13 = v10; sub_FCB30(*(_QWORD *)(a1 + 432), v9); if ( !v10 ) break; } result = sub_8BC58(a1, a2, &v13, &v12); if ( (_DWORD)result ) return result; } *a4 = v12; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source