// // GauntletSelectLayer::goToPage from 0x1001bfd84 to 0x1001bfe74 (240 bytes) // // 4 xrefs: // > GauntletSelectLayer::onPrev @ 0x1001bf070 // > GauntletSelectLayer::onNext @ 0x1001bf084 // > GauntletSelectLayer::setupGauntlets @ 0x1001bf648 // > GauntletSelectLayer::setupGauntlets @ 0x1001bf658 // // 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 GauntletSelectLayer::goToPage(GauntletSelectLayer *a1, int a2, bool a3) { _BOOL4 v3; // w21 BoomScrollLayer *m_scrollLayer; // x0 cocos2d::CCDelayTime *v7; // x20 char v8; // w0 __int64 v9; // x1 __int64 v10; // x2 __int64 v11; // x3 __int64 v12; // x4 __int64 v13; // x5 __int64 v14; // x6 __int64 v15; // x7 cocos2d::CCSequence *v16; // x20 cocos2d::SEL_CallFunc v17; // 0:x1.16 v3 = a3; BoomScrollLayer::getTotalPages(a1->m_scrollLayer); BoomScrollLayer::quickUpdate(a1->m_scrollLayer); m_scrollLayer = a1->m_scrollLayer; if ( v3 ) BoomScrollLayer::instantMoveToPage(m_scrollLayer, a2); else BoomScrollLayer::moveToPage(m_scrollLayer, a2); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_leftButton->setVisible)( a1->m_leftButton, a1->m_scrollLayer != nullptr); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_rightButton->setVisible)( a1->m_rightButton, a1->m_scrollLayer != nullptr); a1->m_playBlocked = 1; cocos2d::CCNode::stopActionByTag(a1, 1001); v7 = cocos2d::CCDelayTime::create(0.3); v17.ptr = (void (*)(void))GauntletSelectLayer::unblockPlay; v17.adj = 0; v8 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v17); v16 = sub_10018A494(v7, v9, v10, v11, v12, v13, v14, v15, v8); ((void (__fastcall *)(cocos2d::CCSequence *, __int64))v16->setTag)(v16, 1001); cocos2d::CCNode::runAction(a1, v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source