// // EditorUI::toggleSwipe from 0x1003c71f8 to 0x1003c7260 (104 bytes) // // 3 xrefs: // > EditorUI::init @ 0x1003c6dc0 // > EditorUI::keyDown @ 0x1003fa0f8 // > EditorUI::init @ 0x1003c5510 // // 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 EditorUI::toggleSwipe(EditorUI *a1, cocos2d::CCObject *a2) { ButtonSprite *v3; // x0 const char *v4; // x1 GameManager *v5; // x0 a1->m_swipeEnabled ^= 1u; v3 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCObject *))a1->m_swipeBtn->getNormalImage)( a1->m_swipeBtn, a2); if ( a1->m_swipeEnabled ) v4 = "GJ_button_02.png"; else v4 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v3, v4); v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, "0003", a1->m_swipeEnabled); }