//
// sub_10001033C from 0x10001033c to 0x1000103b4 (120 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x1000100d0
//
// 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 10:57:16 +0000
//
__int64 __fastcall sub_10001033C(__int64 result, float a2)
{
__int64 v2; // x20
__int64 v4; // x19
v2 = *(_QWORD *)(result + 424);
if ( v2 )
{
v4 = result;
do
{
while ( 1 )
{
result = sub_10000D824(v2 + 20, a2);
if ( *(_BYTE *)(v2 + 32) == 1 && *(float *)(v2 + 44) >= 1.0 )
break;
v2 = *(_QWORD *)v2;
if ( !v2 )
return result;
}
result = sub_100019534(v4 + 408, v2);
v2 = result;
}
while ( result );
}
return result;
}