// // sub_1001E90F8 from 0x1001e90f8 to 0x1001e920c (276 bytes) // // 1 xrefs: // > sub_1001E90A4 @ 0x1001e90c4 // // 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:00:34 +0000 // __int64 *__fastcall sub_1001E90F8(unsigned __int64 a1, unsigned __int64 a2, _DWORD *a3) { unsigned __int64 v3; // x9 uint8x8_t v4; // d0 __int64 v5; // x11 __int64 **v6; // x8 __int64 *i; // x8 unsigned __int64 v8; // x14 float v9; // s0 float v10; // s1 __int64 v11; // x8 _BOOL8 v12; // x9 size_t v13; // x8 unsigned __int64 v14; // x9 size_t v15; // x1 v3 = *(_QWORD *)(a1 + 8); if ( v3 ) { v4 = (uint8x8_t)vcnt_s8((int8x8_t)v3); v4.i16[0] = vaddlv_u8(v4); if ( v4.u32[0] > 1uLL ) v5 = v3 <= a2 ? a2 % v3 : a2; else v5 = (v3 - 1) & a2; v6 = *(__int64 ***)(*(_QWORD *)a1 + 8 * v5); if ( v6 ) { for ( i = *v6; i; i = (__int64 *)*i ) { v8 = i[1]; if ( v8 == a2 ) { if ( *((_DWORD *)i + 4) == *a3 ) return i; } else { if ( v4.u32[0] > 1uLL ) { if ( v8 >= v3 ) v8 %= v3; } else { v8 &= v3 - 1; } if ( v8 != v5 ) break; } } } } v9 = (float)(unsigned __int64)(*(_QWORD *)(a1 + 24) + 1LL); v10 = *(float *)(a1 + 32); if ( !v3 || (float)(v10 * (float)v3) < v9 ) { v11 = 2 * v3; v12 = v3 < 3 || (v3 & (v3 - 1)) != 0; v13 = v12 | v11; v14 = vcvtps_u32_f32(v9 / v10); if ( v13 <= v14 ) v15 = v14; else v15 = v13; sub_100019794(a1, v15); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source