//
// sub_100502A50 from 0x100502a50 to 0x100502a98 (72 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_100502A50(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
int8x8_t v4; // [xsp+Eh] [xbp-12h] BYREF
result = sub_1004AA0BC(*(_QWORD *)(a1 + 368), &v4, 1u, 2, nullptr);
if ( !(_DWORD)result )
*a2 = v4.u16[0];
return result;
}