//
// sub_10060622C from 0x10060622c to 0x1006062dc (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x10083fe10
// > ??> @ 0x10083fe78
//
// 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_10060622C(__int64 a1, unsigned int *a2, __int64 a3)
{
__int64 v3; // x20
int v5; // w20
__int64 v6; // x0
__int64 v8; // [xsp+0h] [xbp-80h] BYREF
_BYTE v9[80]; // [xsp+8h] [xbp-78h] BYREF
v3 = a3;
v8 = a3;
if ( (int)sub_1005DEA4C(a2) >= 1 )
{
v5 = 0;
do
{
v6 = sub_1005DEA60((__int64)a2, v5);
sub_1005EE258(v9, 80, v6);
sub_100606CE4(0, v9, &v8);
++v5;
}
while ( v5 < (int)sub_1005DEA4C(a2) );
return v8;
}
return v3;
}