//
// GJPathRewardPopup::closePopup from 0x6d15fc to 0x6d1638 (60 bytes)
//
// 1 xrefs:
// > GJPathRewardPopup::onClaim @ 0x6d16b6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:03 +0000
//
int __fastcall GJPathRewardPopup::closePopup(GJPathRewardPopup *this)
{
int v2; // r0
cocos2d::CCTouchDispatcher *v3; // r0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, this);
cocos2d::CCNode::stopAllActions(this);
cocos2d::CCNode::unscheduleAllSelectors(this);
(*(void (__fastcall **)(GJPathRewardPopup *, _DWORD))(*(_DWORD *)this + 536))(this, 0);
return (*(int (__fastcall **)(GJPathRewardPopup *, int))(*(_DWORD *)this + 264))(this, 1);
}