// // sub_10062E7DC from 0x10062e7dc to 0x10062e858 (124 bytes) // // 1 xrefs: // > sub_10062D634 @ 0x10062e02c // // This function is hookable on this platform (idp: arm, 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 11:10:26 +0000 // float __fastcall sub_10062E7DC(float a1, float a2) { float result; // s0 float v4; // s0 float v5; // s3 if ( a1 != 0.0 || (result = 0.0, a2 != 0.0) ) { v4 = -a2; if ( a2 >= 0.0 ) v4 = a2; v5 = -a1; if ( a1 >= 0.0 ) v5 = a1; if ( v5 <= v4 ) { result = (float)(a1 / v4) + 1.0; if ( a2 < 0.0 ) return 6.0 - result; } else { result = 3.0 - (float)(a2 / v5); if ( a1 < 0.0 ) return 10.0 - result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source