// // GauntletSelectLayer::goToPage from 0x100572f20 to 0x10057300c (236 bytes) // // 4 xrefs: // > GauntletSelectLayer::onPrev @ 0x100571e66 // > GauntletSelectLayer::onNext @ 0x100571e86 // > GauntletSelectLayer::setupGauntlets @ 0x1005724dd // > GauntletSelectLayer::setupGauntlets @ 0x1005724ec // // 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; // r15d BoomScrollLayer *m_scrollLayer; // rdi cocos2d::CCDelayTime *v6; // r14 cocos2d::CCCallFunc *v7; // rax cocos2d::CCSequence *v8; // r14 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); v6 = cocos2d::CCDelayTime::create(0.30000001); v7 = cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)GauntletSelectLayer::unblockPlay); v8 = sub_1003B5760(v6, v7, 0); ((void (__fastcall *)(cocos2d::CCSequence *, __int64))v8->setTag)(v8, 1001); cocos2d::CCNode::runAction(a1, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source