; ; EditorUI::onStickyToggle from 0x1401b5020 to 0x1401b50c5 (165 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1401aae95 ; > @ 0x14091a168 ; ; 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:57 +0000 ; push rbx ; +0x0, 0x1401b5020 sub rsp, 20h ; +0x2, 0x1401b5022 mov rbx, rcx ; +0x6, 0x1401b5026 cmp cs:qword_14090BFD0, 0 ; +0x9, 0x1401b5029 jnz short loc_1401B505B ; +0x11, 0x1401b5031 mov ecx, 6E8h; Size ; +0x13, 0x1401b5033 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x18, 0x1401b5038 mov [rsp+28h+arg_0], rax ; +0x1d, 0x1401b503d mov rcx, rax ; +0x22, 0x1401b5042 call GameManager__GameManager ; +0x25, 0x1401b5045 nop ; +0x2a, 0x1401b504a mov cs:qword_14090BFD0, rax ; +0x2b, 0x1401b504b mov rdx, [rax] ; +0x32, 0x1401b5052 mov rcx, rax ; +0x35, 0x1401b5055 call qword ptr [rdx+48h] ; +0x38, 0x1401b5058 lea rdx, a0180; "0180" ; +0x3b, 0x1401b505b call GameManager__toggleGameVariable ; +0x42, 0x1401b5062 mov rcx, cs:qword_14090BFD0 ; +0x47, 0x1401b5067 test rcx, rcx ; +0x4e, 0x1401b506e jnz short loc_1401B50A6 ; +0x51, 0x1401b5071 mov ecx, 6E8h; Size ; +0x53, 0x1401b5073 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x58, 0x1401b5078 mov [rsp+28h+arg_0], rax ; +0x5d, 0x1401b507d mov rcx, rax ; +0x62, 0x1401b5082 call GameManager__GameManager ; +0x65, 0x1401b5085 nop ; +0x6a, 0x1401b508a mov cs:qword_14090BFD0, rax ; +0x6b, 0x1401b508b mov rcx, [rax] ; +0x72, 0x1401b5092 mov r8, [rcx+48h] ; +0x75, 0x1401b5095 mov rcx, rax ; +0x79, 0x1401b5099 call r8 ; +0x7c, 0x1401b509c mov rcx, cs:qword_14090BFD0 ; +0x7f, 0x1401b509f lea rdx, a0180; "0180" ; +0x86, 0x1401b50a6 call GameManager__getGameVariable ; +0x8d, 0x1401b50ad mov [rbx+394h], al ; +0x92, 0x1401b50b2 mov rcx, rbx ; +0x98, 0x1401b50b8 add rsp, 20h ; +0x9b, 0x1401b50bb pop rbx ; +0x9f, 0x1401b50bf jmp EditorUI__updateButtons ; +0xa0, 0x1401b50c0