// // sub_1800BE5C0 from 0x1800be5c0 to 0x1800be664 (164 bytes) // // 2 xrefs: // > _cfltcvt_init @ 0x1800be6c6 // > @ 0x1801fd89c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:54:02 +0000 // __int64 __fastcall sub_1800BE5C0(__int64 *a1) { __int64 v1; // rbx int v3; // esi __int64 result; // rax __int64 v5; // r9 int v6; // ecx __int64 v7; // r8 __int64 v8; // rdx int v9; // [rsp+30h] [rbp+8h] BYREF v1 = *a1; v3 = 0; v9 = 0; result = sub_1800C1770(&v9); if ( !(_DWORD)result ) { v6 = v9 - *(_DWORD *)(v1 + 12); v7 = *(unsigned int *)(v1 + 4); *(_DWORD *)(v1 + 12) = v9; if ( v6 <= 1000 ) v3 = v6; v8 = (unsigned int)(*(_DWORD *)v1 * v3 / 1000); *(_DWORD *)(v1 + 20) += v8; if ( *(_DWORD *)(v1 + 20) - *(_DWORD *)(v1 + 16) >= (int)v7 ) { result = ((__int64 (__fastcall *)(__int64 *, _QWORD))a1[1])(a1, *(_QWORD *)(v1 + 24)); if ( !(_DWORD)result ) { *(_DWORD *)(v1 + 16) += *(_DWORD *)(v1 + 4); return 0; } } else { FMOD_OS_Time_Sleep(*(unsigned int *)(v1 + 8), v8, v7, v5); return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source