//
// sub_B7F54 from 0xb7f54 to 0xb7fc0 (108 bytes)
//
// 1 xrefs:
// > sub_B7FC0 @ 0xb8140
//
// 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 12:14:39 +0000
//
__int64 __fastcall sub_B7F54(__int64 a1)
{
__int64 v1; // x8
__int64 v8; // x20
__int64 v9; // x8
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 168);
__asm { FMOV V0.2S, #1.0 }
*(_QWORD *)(a1 + 544) = _D0;
v8 = 0;
*(_DWORD *)(a1 + 552) = *(_DWORD *)(v1 + 1744);
while ( 1 )
{
v9 = *(_QWORD *)(a1 + 232);
if ( v8 >= *(int *)(v9 + 96) )
break;
result = sub_CBD5C(a1, (unsigned int)v8, *(float *)(*(_QWORD *)(*(_QWORD *)(v9 + 104) + 8 * v8) + 56LL));
++v8;
if ( (_DWORD)result )
return result;
}
return 0;
}