// // sub_4F430 from 0x4f430 to 0x4f482 (82 bytes) // // 6 xrefs: // > sub_4F22C @ 0x4f2cc // > sub_4FB88 @ 0x4fb94 // > sub_73AD8 @ 0x7499e // > sub_7A260 @ 0x7a570 // > sub_82C94 @ 0x830a8 // > sub_86DAC @ 0x872f2 // // 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_4F430(int a1, int a2) { float v2; // s0 if ( a2 <= 1 ) a2 = 1; *(_DWORD *)(a1 + 2432) = a2; v2 = (float)((float)a2 * 0.4) * *(float *)(a1 + 2400); if ( v2 >= 0.01 ) *(_DWORD *)(a1 + 1512) = (int)(float)((float)*(int *)(*(_DWORD *)(a1 + 4) + 12) / v2); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source