//
// sub_100533B50 from 0x100533b50 to 0x100533bcc (124 bytes)
//
// 1 xrefs:
// > sub_100533ABC @ 0x100533b18
//
// 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 11:07:22 +0000
//
_QWORD *__usercall sub_100533B50@(__int64 a1@, __int128 **a2@, _QWORD *a3@)
{
_QWORD *result; // x0
_QWORD *v7; // x20
__int128 *v8; // x8
__int128 v9; // q0
result = operator new(0x50u);
v7 = result;
*a3 = result;
a3[1] = a1;
a3[2] = 0;
v8 = *a2;
if ( *((char *)*a2 + 23) < 0 )
{
result = sub_1000097D0((_BYTE *)result + 32, *(void **)v8, *((_QWORD *)v8 + 1));
}
else
{
v9 = *v8;
result[6] = *((_QWORD *)v8 + 2);
*((_OWORD *)result + 2) = v9;
}
v7[8] = 0;
v7[9] = 0;
v7[7] = v7 + 8;
*((_BYTE *)a3 + 16) = 1;
return result;
}