//
// sub_1003B04D0 from 0x1003b04d0 to 0x1003b0582 (178 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b37190
//
// 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:29:25 +0000
//
__int64 __fastcall sub_1003B04D0(_QWORD *a1, __int64 a2)
{
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rdi
*(a1 - 40) = off_100B36C60;
*a1 = off_100B37190;
a1[1] = &off_100B37200;
a1[2] = off_100B37218;
a1[3] = off_100B37238;
a1[4] = off_100B37260;
a1[11] = off_100B37290;
a1[14] = off_100B37310;
a1[28] = &off_100B37330;
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1 - 40);
v5 = a1[34];
if ( v5 )
cocos2d::CCObject::release(v5);
return sub_1004AB790(a1 - 40);
}