// // sub_10039C9B0 from 0x10039c9b0 to 0x10039caac (252 bytes) // // 2 xrefs: // > sub_10039C044 @ 0x10039c164 // > sub_10039C044 @ 0x10039c420 // // 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:03:44 +0000 // __int64 __fastcall sub_10039C9B0(_QWORD **a1, double *a2, float a3) { float v5; // s8 float v6; // s8 float v7; // s11 float v8; // s8 float v9; // s9 float v10; // s10 float v11; // s0 float v13; // s8 __int64 v16; // [xsp+8h] [xbp-38h] BYREF sub_1000262F4(&v16, a2); v5 = *((float *)&v16 + 1) + a3; v6 = v5 - *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 328LL))(a1[61]) + 4); v7 = v6 + *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 192LL))(a1[61]) + 4); v8 = *((float *)&v16 + 1); v9 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 328LL))(a1[61]) + 4); v10 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 192LL))(a1[61]) + 4); v11 = *(float *)(((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) + 4); if ( v7 >= 0.0 && v7 <= v11 ) return 2; v13 = (float)(v8 - v9) + v10; if ( v13 > *(float *)(((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) + 4) || v13 < 0.0 ) return 1; else return 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source