//
// sub_1000100D4 from 0x1000100d4 to 0x100010160 (140 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x1000100ac
//
// 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_1000100D4(__int64 result, float a2)
{
__int64 v2; // x8
__int64 i; // x20
__int64 v5; // x19
__int64 v6; // x8
__int16 v7; // w9
v2 = *(_QWORD *)(result + 328);
if ( v2 )
{
for ( i = *(_QWORD *)(v2 + 56); i; *(float *)(v6 + 316) = *(float *)(v5 + 64) * 255.0 )
{
while ( 1 )
{
v5 = *(_QWORD *)(i + 264);
i = *(_QWORD *)(i + 288);
result = sub_10000D9C4(v5, a2);
if ( !*(_DWORD *)(v5 + 120) )
break;
if ( !i )
return result;
}
v6 = *(_QWORD *)(v5 + 144);
v7 = *(_WORD *)(v5 + 58);
*(_BYTE *)(v6 + 322) = *(_BYTE *)(v5 + 60);
*(_WORD *)(v6 + 320) = v7;
}
}
return result;
}