// // SetupTriggerPopup::goToPage from 0x9e4bf0 to 0x9e4db4 (452 bytes) // // 21 xrefs: // > SetupSpawnPopup::init @ 0x8eb6d4 // > SetupRotateCommandPopup::init @ 0x929ae0 // > SetupSongTriggerPopup::updateApplyPrepare @ 0x9a9d2c // > SetupSongTriggerPopup::init @ 0x9aa80c // > SetupOptionsTriggerPopup::init @ 0x9e2c04 // > SetupTriggerPopup::onPage @ 0x9e4e14 // > SetupTriggerPopup::onPage @ 0x9e4e30 // > SetupTriggerPopup::hideAll @ 0x9e4e3c // > SetupAreaMoveTriggerPopup::init @ 0xa0bcb4 // > SetupAreaTransformTriggerPopup::init @ 0xa0cd9c // > SetupAreaRotateTriggerPopup::init @ 0xa0d968 // > SetupAreaFadeTriggerPopup::init @ 0xa0e4b0 // > SetupAreaTintTriggerPopup::init @ 0xa0f320 // > SetupAreaTriggerPopup::init @ 0xa0fe20 // > SetupAdvFollowPopup::init @ 0xa1972c // > SetupAdvFollowPopup::updateMode @ 0xa1ce48 // > SetupKeyframeAnimPopup::init @ 0xa3aaf0 // > SetupSFXPopup::init @ 0xa40f94 // > SetupSFXEditPopup::init @ 0xa4215c // > SelectEventLayer::init @ 0xa55ca8 // > @ 0x5b0e0 // // 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 SetupTriggerPopup::goToPage(SetupTriggerPopup *a1, int a2, bool a3) { _BOOL4 v5; // w27 cocos2d::CCArray *m_pageContainers; // x0 unsigned int v7; // w23 unsigned int v8; // w19 cocos2d::CCArray *v9; // x22 bool v10; // cf unsigned int v11; // w1 cocos2d::CCArray *v12; // x0 unsigned int *v13; // x20 __int64 v14; // x1 unsigned int *v15; // x0 cocos2d::CCDictionary *m_inputNodes; // x20 int v17; // w0 cocos2d::CCObject *v18; // x0 cocos2d::CCObject *v19; // x20 bool (__fastcall *isEqual)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // x28 unsigned int v21; // w0 CCMenuItemSpriteExtra *m_prevButton; // x0 CCMenuItemSpriteExtra *m_nextButton; // x0 v5 = a3; if ( (unsigned int)cocos2d::CCArray::count(a1->m_pageContainers) && (unsigned int)cocos2d::CCArray::count(a1->m_pageContainers) >= a2 ) { m_pageContainers = a1->m_pageContainers; v7 = 0; a1->m_page = a2; a1->m_hideAll = v5; if ( (unsigned int)cocos2d::CCArray::count(m_pageContainers) ) { do { v8 = 0; v9 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(a1->m_pageContainers, v7); while ( 1 ) { v10 = v8 >= (unsigned int)cocos2d::CCArray::count(v9); v11 = v8; v12 = v9; ++v8; if ( v10 ) break; while ( 1 ) { v13 = (unsigned int *)cocos2d::CCArray::objectAtIndex(v12, v11); if ( !cocos2d::CCDictionary::objectForKey(a1->m_disabledEasingButtons, v13[2]) ) (*(void (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)v13 + 328LL))( v13, (a2 == v7) & (unsigned __int8)!v5); v14 = *(_QWORD *)v13; v15 = v13; m_inputNodes = a1->m_inputNodes; v17 = (*(__int64 (__fastcall **)(unsigned int *))(v14 + 64))(v15); v18 = cocos2d::CCDictionary::objectForKey(m_inputNodes, v17); v19 = v18; if ( !v18 ) break; isEqual = v18->__vftable[12].isEqual; v21 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v18->__vftable[4].~CCObject_0)(v18); isEqual(v19, (const cocos2d::CCObject *)v21); v10 = v8 >= (unsigned int)cocos2d::CCArray::count(v9); v11 = v8; v12 = v9; ++v8; if ( v10 ) goto LABEL_12; } } LABEL_12: ++v7; } while ( v7 < (unsigned int)cocos2d::CCArray::count(a1->m_pageContainers) ); } m_prevButton = a1->m_prevButton; if ( m_prevButton ) m_prevButton->setVisible(m_prevButton, !v5); m_nextButton = a1->m_nextButton; if ( m_nextButton ) m_nextButton->setVisible(m_nextButton, !v5); SetupTriggerPopup::refreshGroupVisibility(a1); a1->pageChanged(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source