//
// sub_100609024 from 0x100609024 to 0x1006090a0 (124 bytes)
//
// 4 xrefs:
// > sub_10060A294 @ 0x10060a2f0
// > ??> @ 0x100840558
// > ??> @ 0x1008405c0
// > ??> @ 0x100840628
//
// 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
//
_BYTE *__fastcall sub_100609024(__int64 a1, unsigned int *a2, __int64 a3)
{
int v5; // w21
__int64 v6; // x0
if ( (int)sub_1005DEA4C(a2) >= 1 )
{
v5 = 0;
do
{
v6 = sub_1005DEA60((__int64)a2, v5);
a3 = sub_100609424(v6, v6, a3);
++v5;
}
while ( v5 < (int)sub_1005DEA4C(a2) );
}
if ( !a3 )
return sub_1005DE4A4();
return (_BYTE *)a3;
}