//
// sub_1005B1244 from 0x1005b1244 to 0x1005b12a8 (100 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:09:10 +0000
//
__int64 __fastcall sub_1005B1244(__int64 a1)
{
__int64 v1; // x8
__int64 v3; // x20
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 232);
if ( *(int *)(v1 + 96) < 1 )
return 0;
v3 = 0;
while ( 1 )
{
result = sub_1005CDB48(a1, v3, *(float *)(*(_QWORD *)(*(_QWORD *)(v1 + 104) + 8 * v3) + 56LL));
if ( (_DWORD)result )
break;
++v3;
v1 = *(_QWORD *)(a1 + 232);
if ( v3 >= *(int *)(v1 + 96) )
return 0;
}
return result;
}