// // sub_18000FD10 from 0x18000fd10 to 0x18000fda6 (150 bytes) // // 3 xrefs: // > @ 0x18016c858 // > @ 0x18016cad0 // > @ 0x1801f6da4 // // 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:52:44 +0000 // __int64 __fastcall sub_18000FD10(float *a1, float a2) { __int64 result; // rax float v4; // [rsp+40h] [rbp+8h] BYREF result = (*(__int64 (__fastcall **)(float *, float *))(*(_QWORD *)a1 + 152LL))(a1, &v4); if ( !(_DWORD)result ) { if ( (LOBYTE(v4) & 0x10) != 0 ) { v4 = a2; if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 ) { return 29; } else if ( a2 < 0.0 || a2 > 5.0 ) { return 31; } else { a1[61] = a2; return 0; } } else { return 40; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source