//
// sub_70A34 from 0x70a34 to 0x70ac4 (144 bytes)
//
// 1 xrefs:
// > sub_70D18 @ 0x70d24
//
// 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_70A34(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x8
__int64 v4; // x8
v2 = 0;
*(_DWORD *)(a1 + 576) = 0;
while ( 1 )
{
v3 = *(_QWORD *)(a1 + 232);
if ( v2 >= *(int *)(v3 + 96) )
break;
v4 = *(_QWORD *)(*(_QWORD *)(v3 + 104) + 8 * v2);
if ( *(_DWORD *)v4 == 2 )
{
sub_CBE2C(a1, (unsigned int)v2, *(_DWORD *)(v4 + 48) != 0);
}
else if ( !*(_DWORD *)v4 )
{
sub_CBD5C(a1, (unsigned int)v2, *(float *)(v4 + 56));
}
++v2;
}
*(_DWORD *)(a1 + 560) = 0;
*(_BYTE *)(a1 + 564) = 1;
return 0;
}