// // GJPathPage::onBack from 0x1003ba0ac to 0x1003ba14c (160 bytes) // // 4 xrefs: // > GJPathPage::unlockAnimationFinished @ 0x1003bae78 // > GJPathPage::keyBackClicked @ 0x1003bb494 // > sub_1003BB498 @ 0x1003bb49c // > GJPathPage::init @ 0x1003b8ef4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJPathPage::onBack(GJPathPage *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 GJPathsLayer *m_pathsLayer; // x8 __int16 v6; // [xsp+Ch] [xbp-14h] BYREF char v7; // [xsp+Eh] [xbp-12h] if ( !a1->m_animationPlaying ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1); cocos2d::CCNode::stopAllActions(a1); cocos2d::CCNode::unscheduleAllSelectors(a1); ((void (__fastcall *)(GJPathPage *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(GJPathPage *, __int64))a1->removeFromParentAndCleanup)(a1, 1); m_pathsLayer = a1->m_pathsLayer; v7 = -1; v6 = -1; ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))m_pathsLayer->m_closeSprite->setColor)( m_pathsLayer->m_closeSprite, &v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source