// // sub_1006200A8 from 0x1006200a8 to 0x100620140 (152 bytes) // // 0 xrefs: // // 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:19 +0000 // __int64 __fastcall sub_1006200A8(__int64 a1, float a2) { float v2; // s1 float v3; // s0 float v4; // s1 if ( a2 >= 22000.0 ) { *(_DWORD *)(a1 + 796) = 0; return 0; } else { v2 = (float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL); if ( (float)(v2 / 3.1416) >= a2 ) { v3 = 1.0 / (float)(a2 * 6.2832); v4 = v3 + (float)(1.0 / v2); } else { v3 = 22000.0 - a2; v4 = (float)(22000.0 - (float)(v2 / 3.1416)) * 3.0; } *(float *)(a1 + 796) = v3 / v4; return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source