// // EditorUI::toggleSwipe from 0x480eec to 0x480f3c (80 bytes) // // 2 xrefs: // > EditorUI::init @ 0x48bf4e // > EditorUI::handleEditorAction @ 0x6f1ba0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:49:22 +0000 // int __fastcall EditorUI::toggleSwipe(EditorUI *this, cocos2d::CCObject *a2) { char *v3; // r0 const char *v4; // r1 char *updated; // r0 GameManager *v6; // r0 EditorSFXManager *v7; // r0 EditorSFXManager *v8; // r0 *((_BYTE *)this + 636) ^= 1u; v3 = (char *)(*(int (__fastcall **)(_DWORD, cocos2d::CCObject *))(**((_DWORD **)this + 174) + 536))( *((_DWORD *)this + 174), a2); if ( *((_BYTE *)this + 636) ) v4 = "GJ_button_02.png"; else v4 = "GJ_button_01.png"; updated = ButtonSprite::updateBGImage(v3, v4); v6 = (GameManager *)GameManager::sharedState((GameManager *)updated); v7 = (EditorSFXManager *)GameManager::setGameVariable(v6, "0003", (const char *)*((unsigned __int8 *)this + 636)); v8 = (EditorSFXManager *)EditorSFXManager::sharedState(v7); return EditorSFXManager::playAction(v8, 192, 189); }
GD Web Decomp Icon

GD Web Decomp

Raw Source