// // GJPathPage::unlockAnimationFinished from 0x100301ef0 to 0x100302043 (339 bytes) // // 1 xrefs: // > GJPathPage::playUnlockAnimation @ 0x100301463 // // 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::unlockAnimationFinished(GJPathPage *a1) { StatKey v1; // r14d GameStatsManager *v2; // rax cocos2d::CCDirector *v3; // rax cocos2d::CCTouchDispatcher *v4; // rax GJPathsLayer *m_pathsLayer; // rax GJPathsLayer *v6; // r14 cocos2d::CCDirector *v7; // rax cocos2d::CCTouchDispatcher *v8; // rax GJPathsLayer *v9; // r14 GJPathPage *v10; // rbx __int16 v11; // [rsp+Ch] [rbp-14h] BYREF char v12; // [rsp+Eh] [rbp-12h] a1->m_animationPlaying = 0; v1 = a1->m_pathNumber + 29; v2 = GameStatsManager::sharedState(); GameStatsManager::updateActivePath(v2, v1); 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; v12 = -1; v11 = -1; ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))m_pathsLayer->m_closeSprite->setColor)( m_pathsLayer->m_closeSprite, &v11); } v6 = a1->m_pathsLayer; v6->m_exiting = 0; v7 = cocos2d::CCDirector::sharedDirector(); v8 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v7->getTouchDispatcher)(v7); cocos2d::CCTouchDispatcher::unregisterForcePrio(v8, v6); cocos2d::CCNode::stopAllActions(v6); cocos2d::CCNode::unscheduleAllSelectors(v6); ((void (__fastcall *)(GJPathsLayer *, _QWORD))v6->setKeypadEnabled)(v6, 0); ((void (__fastcall *)(GJPathsLayer *, __int64))v6->removeFromParentAndCleanup)(v6, 1); v9 = GJPathsLayer::create(); v9->m_noElasticity = 1; ((void (__fastcall *)(GJPathsLayer *))v9->show)(v9); v10 = GJPathPage::create(a1->m_pathNumber, v9); v10->m_noElasticity = 1; ((void (__fastcall *)(GJPathPage *))v10->show)(v10); GJPathPage::unlockAnimationStep3(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source