//
// GJPathRewardPopup::closePopup from 0xba3a9c to 0xba3b08 (108 bytes)
//
// 4 xrefs:
// > GJPathRewardPopup::onClaim @ 0xba3d04
// > ??> @ 0x62bd8
// > GJPathRewardPopup::onClaim @ 0xba3c64
// > ??> @ 0x15425e8
//
// 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 13:02:48 +0000
//
__int64 __fastcall GJPathRewardPopup::closePopup(GJPathRewardPopup *this)
{
__int64 v2; // x0
cocos2d::CCTouchDispatcher *v3; // x0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, this);
cocos2d::CCNode::stopAllActions(this);
cocos2d::CCNode::unscheduleAllSelectors(this);
(*(void (__fastcall **)(GJPathRewardPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
return (*(__int64 (__fastcall **)(GJPathRewardPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}