// // sub_10039C88C from 0x10039c88c to 0x10039c9b0 (292 bytes) // // 2 xrefs: // > sub_10039CAAC @ 0x10039cad8 // > sub_10039CED8 @ 0x10039cef8 // // 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_10039C88C(_QWORD **a1, __int64 a2) { double *v4; // x0 double v5; // d0 float v6; // s8 float v7; // s8 float v8; // s8 float v9; // s11 float v10; // s8 float v11; // s9 float v12; // s10 float v13; // s0 float v15; // s8 __int64 v18; // [xsp+8h] [xbp-38h] BYREF v4 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2); v5 = sub_1000262F4(&v18, v4); v6 = *((float *)&v18 + 1); v7 = v6 + *(float *)((*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)a2 + 328LL))(a2, v5) + 4); v8 = v7 - *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 328LL))(a1[61]) + 4); v9 = v8 + *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 192LL))(a1[61]) + 4); v10 = *((float *)&v18 + 1); v11 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 328LL))(a1[61]) + 4); v12 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1[61] + 192LL))(a1[61]) + 4); v13 = *(float *)(((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) + 4); if ( v9 >= 0.0 && v9 <= v13 ) return 2; v15 = (float)(v10 - v11) + v12; if ( v15 > *(float *)(((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) + 4) || v15 < 0.0 ) return 1; else return 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source