// // EditorUI::toggleSwipe from 0x1401b33e0 to 0x1401b34b5 (213 bytes) // // 4 xrefs: // > EditorUI::init @ 0x1401ac30c // > EditorUI::handleEditorAction @ 0x1401c2939 // > EditorUI::init @ 0x1401aa597 // > @ 0x14091a018 // // This function is hookable on this platform (idp: pc, 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 11:27:56 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall EditorUI::toggleSwipe(__int64 a1) { __int64 v2; // rax const char *v3; // rdx __int64 v4; // rcx _QWORD *v5; // rdi int v6; // ebx void *v7; // [rsp+30h] [rbp+8h] *(_BYTE *)(a1 + 908) = *(_BYTE *)(a1 + 908) == 0; v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1000) + 952LL))(*(_QWORD *)(a1 + 1000)); v3 = "GJ_button_01.png"; if ( *(_BYTE *)(a1 + 908) ) v3 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v2, v3); v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } GameManager::setGameVariable(v4, "0003", *(unsigned __int8 *)(a1 + 908)); v5 = (_QWORD *)EditorSFXManager::sharedState(); v6 = 192; if ( !EditorSFXManager::hasSoundsForAction(v5, 192) ) v6 = 189; EditorSFXManager::playAction((__int64)v5, v6); }