//
// sub_B26B4 from 0xb26b4 to 0xb274c (152 bytes)
//
// 1 xrefs:
// > sub_B2EE8 @ 0xb2eec
//
// 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_B26B4(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x8
__int64 result; // x0
int v5; // s1
float v6; // s0
v2 = 0;
*(float *)(a1 + 548) = (float)((float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL) * 0.5) + -10.0;
while ( 1 )
{
v3 = *(_QWORD *)(a1 + 232);
if ( v2 >= *(int *)(v3 + 96) )
break;
result = sub_CBD5C(a1, (unsigned int)v2, *(float *)(*(_QWORD *)(*(_QWORD *)(v3 + 104) + 8 * v2) + 56LL));
++v2;
if ( (_DWORD)result )
return result;
}
sub_B274C(a1);
v5 = *(_DWORD *)(a1 + 1092);
v6 = *(float *)(a1 + 1096);
*(float *)(a1 + 552) = v6;
*(_DWORD *)(a1 + 544) = v5;
sub_B277C(a1, v6);
return 0;
}