// // sub_48D5A from 0x48d5a to 0x48db0 (86 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_48D5A(float *a1, float a2, int a3, int a4) { int result; // r0 int v7; // [sp+4h] [bp-Ch] BYREF v7 = a4; result = (*(int (__fastcall **)(float *, int *))(*(_DWORD *)a1 + 76))(a1, &v7); if ( !result ) { if ( (v7 & 0x10) != 0 ) { if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 ) { return 29; } else { result = 31; if ( a2 >= 0.0 && a2 <= 5.0 ) { a1[47] = a2; return 0; } } } else { return 40; } } return result; }