; ; EditorUI::onStickyToggle from 0x140112960 to 0x140112a02 (162 bytes) ; ; 3 xrefs: ; > EditorUI::init @ 0x1400e0750 ; > @ 0x1406c9048 ; > @ 0x1406c9054 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x140112960 sub rsp, 20h ; +0x2, 0x140112962 mov rbx, rcx ; +0x6, 0x140112966 cmp cs:qword_1406C2ED8, 0 ; +0x9, 0x140112969 jnz short loc_14011299B ; +0x11, 0x140112971 mov ecx, 668h; Size ; +0x13, 0x140112973 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x18, 0x140112978 mov [rsp+28h+arg_0], rax ; +0x1d, 0x14011297d mov rcx, rax ; +0x22, 0x140112982 call sub_14017AB00 ; +0x25, 0x140112985 nop ; +0x2a, 0x14011298a mov cs:qword_1406C2ED8, rax ; +0x2b, 0x14011298b mov rdx, [rax] ; +0x32, 0x140112992 mov rcx, rax ; +0x35, 0x140112995 call qword ptr [rdx+48h] ; +0x38, 0x140112998 lea rdx, a0180; "0180" ; +0x3b, 0x14011299b call GameManager__toggleGameVariable ; +0x42, 0x1401129a2 mov rcx, cs:qword_1406C2ED8 ; +0x47, 0x1401129a7 test rcx, rcx ; +0x4e, 0x1401129ae jnz short loc_1401129E3 ; +0x51, 0x1401129b1 mov ecx, 668h; Size ; +0x53, 0x1401129b3 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x58, 0x1401129b8 mov [rsp+28h+arg_0], rax ; +0x5d, 0x1401129bd mov rcx, rax ; +0x62, 0x1401129c2 call sub_14017AB00 ; +0x65, 0x1401129c5 nop ; +0x6a, 0x1401129ca mov cs:qword_1406C2ED8, rax ; +0x6b, 0x1401129cb mov r8, [rax] ; +0x72, 0x1401129d2 mov rcx, rax ; +0x75, 0x1401129d5 call qword ptr [r8+48h] ; +0x78, 0x1401129d8 mov rcx, cs:qword_1406C2ED8 ; +0x7c, 0x1401129dc lea rdx, a0180; "0180" ; +0x83, 0x1401129e3 call GameManager__getGameVariable ; +0x8a, 0x1401129ea mov [rbx+324h], al ; +0x8f, 0x1401129ef mov rcx, rbx ; +0x95, 0x1401129f5 add rsp, 20h ; +0x98, 0x1401129f8 pop rbx ; +0x9c, 0x1401129fc jmp EditorUI__updateButtons ; +0x9d, 0x1401129fd