// // EditorUI::toggleSwipe from 0x37ba88 to 0x37bacc (68 bytes) // // 2 xrefs: // > EditorUI::init @ 0x3a28be // > EditorUI::keyDown @ 0x3a70ec // // 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 EditorUI::toggleSwipe(EditorUI *a1, cocos2d::CCObject *a2) { ButtonSprite *v3; // r0 const char *v4; // r1 GameManager *v5; // r0 a1->m_swipeEnabled ^= 1u; v3 = (ButtonSprite *)((int (__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); }
GD Web Decomp Icon

GD Web Decomp

Raw Source