//
// sub_100438740 from 0x100438740 to 0x1004387d8 (152 bytes)
//
// 0 xrefs:
//
// 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_100438740(__int64 a1)
{
int v2; // w9
int v3; // w20
int v4; // w8
__int64 v5; // x21
__int64 v6; // x0
if ( *(_QWORD *)(a1 + 56) )
{
v2 = *(_DWORD *)(a1 + 24);
if ( v2 >= 1 )
{
v3 = 0;
v4 = *(_DWORD *)(a1 + 28);
do
{
if ( v4 >= 1 )
{
v5 = 0;
do
{
v6 = *(_QWORD *)(*(_QWORD *)(a1 + 56) + 8 * (v5 + v3 * v4));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 40LL))(v6);
v4 = *(_DWORD *)(a1 + 28);
++v5;
}
while ( (int)v5 < v4 );
v2 = *(_DWORD *)(a1 + 24);
}
++v3;
}
while ( v3 < v2 );
}
*(_DWORD *)(a1 + 48) = 0;
}
return 0;
}