//
// sub_100279A70 from 0x100279a70 to 0x100279b12 (162 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afcc68
//
// 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
//
void __fastcall sub_100279A70(__int64 a1, __int64 a2)
{
void *v2; // rbx
__int64 v3; // rax
__int64 v4; // rax
v2 = (void *)(a1 - 320);
*(_QWORD *)(a1 - 320) = off_100AFC6E8;
*(_QWORD *)a1 = off_100AFCC60;
*(_QWORD *)(a1 + 8) = &off_100AFCCD0;
*(_QWORD *)(a1 + 16) = off_100AFCCE8;
*(_QWORD *)(a1 + 24) = off_100AFCD08;
*(_QWORD *)(a1 + 32) = off_100AFCD30;
*(_QWORD *)(a1 + 88) = off_100AFCD60;
*(_QWORD *)(a1 + 112) = off_100AFCDE0;
if ( *(_BYTE *)(a1 + 281) == 1 )
{
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, v2);
}
sub_1004AB790(v2);
operator delete(v2);
}