//
// sub_B3004 from 0xb3004 to 0xb306c (104 bytes)
//
// 1 xrefs:
// > sub_B306C @ 0xb34b4
//
// 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:38 +0000
//
__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;
}