// // UIOptionsLayer::toggleUIGroup from 0x4b1b58 to 0x4b1c3a (226 bytes) // // 2 xrefs: // > UIOptionsLayer::init @ 0x4b2bcc // > UIOptionsLayer::ccTouchBegan @ 0x4b3336 // // 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 UIOptionsLayer::toggleUIGroup(UIOptionsLayer *a1, int a2) { char *v4; // r1 cocos2d::CCLabelBMFont *m_nameLabel; // r0 UIOptionsLayer_vtbl *v6; // r3 const unsigned __int8 *v7; // [sp+8h] [bp-Ch] BYREF if ( a1->m_activeUIGroup == a2 ) return; sub_776584((int)&v7, "P1 Move"); switch ( a2 ) { case 2: v4 = "P2 Move"; break; case 3: v4 = "P1 Jump"; break; case 4: v4 = "P2 Jump"; break; default: goto LABEL_5; } sub_7753D4((int)&v7, v4); LABEL_5: m_nameLabel = a1->m_nameLabel; if ( m_nameLabel ) m_nameLabel->setString(m_nameLabel, v7); v6 = a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_activeUIGroup = a2; ((void (__fastcall *)(UIOptionsLayer *))v6->toggleGroup)(a1); ((void (__fastcall *)(UIOptionsLayer *))a1->toggleGroup)(a1); ((void (__fastcall *)(UIOptionsLayer *))a1->toggleGroup)(a1); ((void (__fastcall *)(UIOptionsLayer *))a1->toggleGroup)(a1); sub_774008(&v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source