//
// sub_100279850 from 0x100279850 to 0x1002798f8 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afc6f0
//
// 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:27:40 +0000
//
__int64 __fastcall sub_100279850(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rax
*(_QWORD *)a1 = off_100AFC6E8;
*(_QWORD *)(a1 + 320) = off_100AFCC60;
*(_QWORD *)(a1 + 328) = &off_100AFCCD0;
*(_QWORD *)(a1 + 336) = off_100AFCCE8;
*(_QWORD *)(a1 + 344) = off_100AFCD08;
*(_QWORD *)(a1 + 352) = off_100AFCD30;
*(_QWORD *)(a1 + 408) = off_100AFCD60;
*(_QWORD *)(a1 + 432) = off_100AFCDE0;
if ( *(_BYTE *)(a1 + 601) == 1 )
{
v2 = cocos2d::CCDirector::sharedDirector(a1, a2);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);
}
return sub_1004AB790(a1);
}