//
// sub_B3004 from 0xb3004 to 0xb306c (104 bytes)
//
// 1 xrefs:
// > sub_B306C @ 0xb34b4
//
// 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_B3004(__int64 a1)
{
__int64 i; // x20
__int64 v3; // x8
__int64 result; // x0
__int64 v5; // x0
for ( i = 0; ; ++i )
{
v3 = *(_QWORD *)(a1 + 232);
if ( i >= *(int *)(v3 + 96) )
break;
result = sub_CBD5C(a1, (unsigned int)i, *(float *)(*(_QWORD *)(*(_QWORD *)(v3 + 104) + 8 * i) + 56LL));
if ( (_DWORD)result )
return result;
}
v5 = sub_B306C(a1);
sub_B3524(v5, *(float *)(a1 + 808));
return 0;
}