// // sub_BECC0 from 0xbecc0 to 0xbed2c (108 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_BECC0(__int64 **a1) { __int64 *v2; // r6 int result; // r0 __int64 v4; // kr00_8 int v5; // r1 int v6; // r5 int v7; // r2 int v8; // r1 int v9; // r0 int v10; // [sp+4h] [bp-14h] BYREF v2 = *a1; v10 = 0; result = sub_BFFC4(&v10); if ( !result ) { v4 = *v2; v6 = *((_DWORD *)v2 + 4); v5 = *((_DWORD *)v2 + 3); v7 = v10; *((_DWORD *)v2 + 3) = v10; v8 = v7 - v5; if ( v8 > 1000 ) v8 = 0; v9 = (int)v4 * v8 / 1000 + *((_DWORD *)v2 + 5); *((_DWORD *)v2 + 5) = v9; if ( v9 - v6 >= SHIDWORD(v4) ) { result = ((int (__fastcall *)(__int64 **, _DWORD, _DWORD))a1[1])(a1, *((_DWORD *)v2 + 6), HIDWORD(v4)); if ( result ) return result; *((_DWORD *)v2 + 4) += *((_DWORD *)v2 + 1); } else { j_FMOD_OS_Time_Sleep(*((_DWORD *)v2 + 2)); } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source