; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401b33e0 push rdi ; +0x5, 0x1401b33e5 sub rsp, 20h ; +0x6, 0x1401b33e6 mov rbx, rcx ; +0xa, 0x1401b33ea cmp byte ptr [rcx+38Ch], 0 ; +0xd, 0x1401b33ed setz al ; +0x14, 0x1401b33f4 mov [rcx+38Ch], al ; +0x17, 0x1401b33f7 mov rcx, [rcx+3E8h] ; +0x1d, 0x1401b33fd mov rax, [rcx] ; +0x24, 0x1401b3404 call qword ptr [rax+3B8h] ; +0x27, 0x1401b3407 lea rcx, aGjButton02Png; "GJ_button_02.png" ; +0x2d, 0x1401b340d lea rdx, aGjButton01Png; "GJ_button_01.png" ; +0x34, 0x1401b3414 cmp byte ptr [rbx+38Ch], 0 ; +0x3b, 0x1401b341b cmovnz rdx, rcx ; +0x42, 0x1401b3422 mov rcx, rax ; +0x46, 0x1401b3426 call ButtonSprite__updateBGImage ; +0x49, 0x1401b3429 mov rcx, cs:qword_14090BFD0 ; +0x4e, 0x1401b342e test rcx, rcx ; +0x55, 0x1401b3435 jnz short loc_1401B346C ; +0x58, 0x1401b3438 mov ecx, 6E8h; Size ; +0x5a, 0x1401b343a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5f, 0x1401b343f mov [rsp+28h+arg_0], rax ; +0x64, 0x1401b3444 mov rcx, rax ; +0x69, 0x1401b3449 call GameManager__GameManager ; +0x6c, 0x1401b344c nop ; +0x71, 0x1401b3451 mov cs:qword_14090BFD0, rax ; +0x72, 0x1401b3452 mov rcx, [rax] ; +0x79, 0x1401b3459 mov rdx, [rcx+48h] ; +0x7c, 0x1401b345c mov rcx, rax ; +0x80, 0x1401b3460 call rdx ; +0x83, 0x1401b3463 mov rcx, cs:qword_14090BFD0 ; +0x85, 0x1401b3465 movzx r8d, byte ptr [rbx+38Ch] ; +0x8c, 0x1401b346c lea rdx, a0003; "0003" ; +0x94, 0x1401b3474 call GameManager__setGameVariable ; +0x9b, 0x1401b347b call EditorSFXManager__sharedState ; +0xa0, 0x1401b3480 mov rdi, rax ; +0xa5, 0x1401b3485 mov ebx, 0C0h ; +0xa8, 0x1401b3488 mov edx, ebx ; +0xad, 0x1401b348d mov rcx, rax ; +0xaf, 0x1401b348f call EditorSFXManager__hasSoundsForAction ; +0xb2, 0x1401b3492 mov ecx, 0BDh ; +0xb7, 0x1401b3497 test al, al ; +0xbc, 0x1401b349c cmovz ebx, ecx ; +0xbe, 0x1401b349e mov edx, ebx ; +0xc1, 0x1401b34a1 mov rcx, rdi ; +0xc3, 0x1401b34a3 mov rbx, [rsp+28h+arg_8] ; +0xc6, 0x1401b34a6 add rsp, 20h ; +0xcb, 0x1401b34ab pop rdi ; +0xcf, 0x1401b34af jmp EditorSFXManager__playAction ; +0xd0, 0x1401b34b0