//
// sub_1002E75D4 from 0x1002e75d4 to 0x1002e7638 (100 bytes)
//
// 2 xrefs:
// > sub_10023E7CC @ 0x10023e870
// > sub_1003BE1A8 @ 0x1003be924
//
// 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:02:51 +0000
//
__int64 __fastcall sub_1002E75D4(__int64 a1)
{
float v2; // s0
if ( !**(_DWORD **)(a1 + 56) )
return 0;
v2 = vcvts_n_f32_s32(rand(), 0x1Fu);
if ( v2 == 1.0 )
v2 = 0.0;
return *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 56) + 16LL)
+ 8LL * (int)(float)(v2 * (float)**(unsigned int **)(a1 + 56)));
}