//
// sub_1003F00FC from 0x1003f00fc to 0x1003f0174 (120 bytes)
//
// 4 xrefs:
// > InfoLayer::keyBackClicked @ 0x1003f155c
// > sub_1003F1560 @ 0x1003f1564
// > sub_1003F1D70 @ 0x1003f1e00
// > InfoLayer::init @ 0x1003eec04
//
// This function is hookable on this platform (idp: arm, 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 11:04:30 +0000
//
__int64 __fastcall sub_1003F00FC(__int64 *a1)
{
__int64 v2; // x0
__int64 v3; // x0
if ( a1[97] )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1[97]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1[97] + 536LL))(a1[97]);
a1[97] = 0;
a1[112] = 0;
}
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0);
return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 528))(a1, 1);
}