//
// sub_10051C48C from 0x10051c48c to 0x10051c4d0 (68 bytes)
//
// 1 xrefs:
// > PlatformerControlsPopup::init @ 0x10051bba4
//
// 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:09 +0000
//
__int64 __fastcall sub_10051C48C(__int64 result, __int64 a2)
{
__int64 v2; // x19
if ( *(_QWORD *)(result + 1048) )
{
v2 = result;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
*(_DWORD *)(*(_QWORD *)(v2 + 1048) + 1848LL) ^= result;
}
return result;
}