//
// sub_100493870 from 0x100493870 to 0x100493918 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b500c0
//
// This function is hookable on this platform (idp: pc, 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 12:30:47 +0000
//
__int64 __fastcall sub_100493870(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rax
__int64 v3; // rax
v1 = a1 - 320;
*(_QWORD *)(a1 - 320) = off_100B4FB70;
*(_QWORD *)a1 = off_100B500C0;
*(_QWORD *)(a1 + 8) = &off_100B50130;
*(_QWORD *)(a1 + 16) = off_100B50148;
*(_QWORD *)(a1 + 24) = off_100B50168;
*(_QWORD *)(a1 + 32) = off_100B50190;
*(_QWORD *)(a1 + 88) = off_100B501C0;
*(_QWORD *)(a1 + 112) = off_100B50240;
*(_QWORD *)(a1 + 224) = off_100B50260;
if ( *(_BYTE *)(a1 + 324) == 1 )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, v1);
}
return sub_1004AB790(v1);
}