//
// sub_100518D60 from 0x100518d60 to 0x100518e02 (162 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6cd98
//
// 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:31:40 +0000
//
void __fastcall sub_100518D60(__int64 a1)
{
_QWORD *v1; // rbx
__int64 v2; // rax
__int64 v3; // rax
v1 = (_QWORD *)(a1 - 320);
*(_QWORD *)(a1 - 320) = off_100B6C818;
*(_QWORD *)a1 = off_100B6CD90;
*(_QWORD *)(a1 + 8) = &off_100B6CE00;
*(_QWORD *)(a1 + 16) = off_100B6CE18;
*(_QWORD *)(a1 + 24) = off_100B6CE38;
*(_QWORD *)(a1 + 32) = off_100B6CE60;
*(_QWORD *)(a1 + 88) = off_100B6CE90;
*(_QWORD *)(a1 + 112) = off_100B6CF10;
if ( *(_BYTE *)(a1 + 225) == 1 )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (__int64)v1);
}
sub_1004AB790(v1);
operator delete(v1);
}