//
// InfoLayer::onClose from 0x906f1c to 0x906f9c (128 bytes)
//
// 5 xrefs:
// > InfoLayer::keyBackClicked @ 0x906fa0
// > InfoLayer::reloadWindow @ 0x90d2a0
// > ??> @ 0x1056d0
// > InfoLayer::init @ 0x90b38c
// > ??> @ 0x1547fd0
//
// 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 12:57:09 +0000
//
__int64 __fastcall InfoLayer::onClose(InfoLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
__int64 v4; // x0
cocos2d::CCTouchDispatcher *v5; // x0
v3 = *((cocos2d::CCDirector **)this + 97);
if ( v3 )
{
v4 = cocos2d::CCDirector::sharedDirector(v3);
v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, *((cocos2d::CCObject **)this + 97));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 536LL))(*((_QWORD *)this + 97));
*((_QWORD *)this + 97) = 0;
*((_QWORD *)this + 112) = 0;
}
(*(void (__fastcall **)(InfoLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(InfoLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}