// // TutorialLayer::onNext from 0x1004dcbd0 to 0x1004dcc62 (146 bytes) // // 1 xrefs: // > TutorialLayer::init @ 0x1004dc9ef // // 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 TutorialLayer::onNext(TutorialLayer *a1, cocos2d::CCObject *a2) { char v2; // al int m_page; // esi cocos2d::CCString *v4; // rax const char *CString; // rbx cocos2d::CCTextureCache *v6; // rax char v7; // [rsp-8h] [rbp-10h] v7 = v2; m_page = a1->m_page; if ( m_page < 5 ) { TutorialLayer::loadPage(a1, m_page + 1); } else { ((void (__fastcall *)(TutorialLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_tutorialLayer->removeAllChildrenWithCleanup)( a1->m_tutorialLayer, 1); ((void (__fastcall *)(TutorialLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); if ( a1->m_page ) { v4 = (cocos2d::CCString *)sub_1007AB580("tutorial_%02d.png", v7); CString = cocos2d::CCString::getCString(v4); v6 = cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v6, CString); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source