//
// sub_100435270 from 0x100435270 to 0x100435310 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084cb80
//
// 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_100435270(__int64 *a1)
{
__int64 v1; // x19
__int64 v2; // x8
__int64 v3; // x20
__int64 v4; // x8
v1 = *a1;
*(_DWORD *)(v1 + 568) = 0;
v2 = *(_QWORD *)(v1 + 232);
if ( *(int *)(v2 + 96) >= 1 )
{
v3 = 0;
do
{
v4 = *(_QWORD *)(*(_QWORD *)(v2 + 104) + 8 * v3);
if ( *(_DWORD *)v4 == 2 )
{
sub_1004A7AC8(v1, v3, *(_DWORD *)(v4 + 48) != 0);
}
else if ( !*(_DWORD *)v4 )
{
sub_1004A79E0(v1, v3, *(float *)(v4 + 56));
}
++v3;
v2 = *(_QWORD *)(v1 + 232);
}
while ( v3 < *(int *)(v2 + 96) );
}
*(_DWORD *)(v1 + 552) = 0;
*(_BYTE *)(v1 + 556) = 1;
return 0;
}