// // EditorUI::toggleMode from 0x7ce4e4 to 0x7ce5d0 (236 bytes) // // 12 xrefs: // > EditorUI::onPlaytest @ 0x7ce704 // > EditorUI::init @ 0x7cff68 // > EditorUI::handleEditorAction @ 0xbd8320 // > EditorUI::handleEditorAction @ 0xbd8338 // > EditorUI::handleEditorAction @ 0xbd8350 // > EditorUI::handleEditorAction @ 0xbd8458 // > @ 0x5d628 // > EditorUI::init @ 0x7cf0e0 // > EditorUI::init @ 0x7cf178 // > EditorUI::init @ 0x7cf20c // > EditorUI::init @ 0x7cf2a0 // > @ 0x15422e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:13 +0000 // __int64 __fastcall EditorUI::toggleMode(EditorUI *this, cocos2d::CCObject *a2) { int v3; // w19 __int64 result; // x0 unsigned int v5; // w19 int v6; // w21 EditorSFXManager *v7; // x0 EditorSFXManager *v8; // x0 __int64 v9; // x1 ButtonSprite *v10; // x0 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); result = *((unsigned int *)this + 359); if ( (_DWORD)result != v3 ) { *((_DWORD *)this + 359) = v3; v5 = v3 - 1; v6 = 169; v7 = (EditorSFXManager *)EditorUI::resetUI(this); if ( v5 <= 3 ) { v7 = (EditorSFXManager *)word_1142210; v6 = *(_DWORD *)&word_1142210[2 * v5 + 72]; } v8 = (EditorSFXManager *)EditorSFXManager::sharedState(v7); EditorSFXManager::playAction(v8, v6, 169); result = *((unsigned int *)this + 359); switch ( (_DWORD)result ) { case 1: v9 = *((_QWORD *)this + 115); break; case 2: v9 = *((_QWORD *)this + 116); break; case 3: v9 = *((_QWORD *)this + 117); break; case 4: v9 = *((_QWORD *)this + 118); break; default: return result; } v10 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1072LL))(v9); return ButtonSprite::updateBGImage(v10, "GJ_button_02.png"); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source