//
// sub_10062A7A8 from 0x10062a7a8 to 0x10062a84c (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x100869db0
//
// 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_10062A7A8(_QWORD *a1, __int64 a2, const void *a3)
{
__int64 v6; // x23
int v7; // w0
int v8; // w0
v6 = a1[15];
sub_100626F2C((_DWORD *)(v6 + 12), asc_100869B40);
*(_QWORD *)(v6 + 4) = &_mh_execute_header;
if ( a2 )
sub_100626EF0(v6 + 12, a2);
if ( a3 )
{
v7 = sub_1005EB108((__int64)a1);
memcpy(a1 + 3, a3, v7);
}
v8 = sub_1005EB108((__int64)a1);
memcpy(a1 + 5, a1 + 3, v8);
return 1;
}