// // sub_180089450 from 0x180089450 to 0x1800894ca (122 bytes) // // 1 xrefs: // > @ 0x1801ae600 // // 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_180089450(__int64 *a1, int a2, unsigned int a3) { __int64 v3; // r9 float v4; // xmm1_4 __int64 result; // rax unsigned int v6; // ecx v3 = *a1; if ( a2 ) { if ( !*(_DWORD *)(v3 + 2084) ) return 11; } else { v4 = *(float *)(v3 + 2076); if ( v4 > -80.0 ) *(_DWORD *)(v3 + 2084) = (int)(float)((float)((float)(v4 + 100.0) * *(float *)(v3 + 2032)) * (float)((float)*(int *)(v3 + 2080) * 0.000016666667)); } result = 0; v6 = *(_DWORD *)(v3 + 2084) - a3; if ( *(_DWORD *)(v3 + 2084) <= a3 ) v6 = 0; *(_DWORD *)(v3 + 2084) = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source