//
// sub_B7F54 from 0xb7f54 to 0xb7fc0 (108 bytes)
//
// 1 xrefs:
// > sub_B7FC0 @ 0xb8140
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}