; ; EditorUI::updateEditButtonColor from 0x140202a20 to 0x140202bc0 (416 bytes) ; ; 5 xrefs: ; > EditorUI::activateScaleControl @ 0x140202cce ; > EditorUI::deactivateScaleControl @ 0x140202e5e ; > EditorUI::showTransformControl @ 0x14020339c ; > EditorUI::deactivateTransformControl @ 0x140203577 ; > @ 0x14091af3c ; ; 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:28:14 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x140202a20 push rdi ; +0x5, 0x140202a25 sub rsp, 70h ; +0x6, 0x140202a26 mov rax, cs:__security_cookie ; +0xa, 0x140202a2a xor rax, rsp ; +0x11, 0x140202a31 mov [rsp+78h+var_18], rax ; +0x14, 0x140202a34 mov rdi, r8 ; +0x19, 0x140202a39 mov rbx, rcx ; +0x1c, 0x140202a3c cmp qword ptr [rcx+360h], 0 ; +0x1f, 0x140202a3f jz loc_140202BA5 ; +0x27, 0x140202a47 lea rcx, word_1406ED6F8 ; +0x2d, 0x140202a4d call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x34, 0x140202a54 mov rcx, rax ; +0x3a, 0x140202a5a call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3d, 0x140202a5d xorps xmm0, xmm0 ; +0x43, 0x140202a63 movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x46, 0x140202a66 xorps xmm1, xmm1 ; +0x4b, 0x140202a6b movdqu [rsp+78h+var_28], xmm1 ; +0x4e, 0x140202a6e mov r8, 0FFFFFFFFFFFFFFFFh ; +0x54, 0x140202a74 nop dword ptr [rax+rax+00h] ; +0x5b, 0x140202a7b inc r8 ; +0x60, 0x140202a80 cmp byte ptr [rax+r8], 0 ; +0x63, 0x140202a83 jnz short loc_140202A80 ; +0x68, 0x140202a88 mov rdx, rax ; +0x6a, 0x140202a8a lea rcx, [rsp+78h+Block] ; +0x6d, 0x140202a8d call sub_14003D230 ; +0x72, 0x140202a92 nop ; +0x77, 0x140202a97 lea rdx, [rsp+78h+Block] ; +0x78, 0x140202a98 mov rcx, [rbx+360h] ; +0x7d, 0x140202a9d call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x84, 0x140202aa4 mov rbx, rax ; +0x8a, 0x140202aaa mov rdx, qword ptr [rsp+78h+var_28+8] ; +0x8d, 0x140202aad cmp rdx, 0Fh ; +0x92, 0x140202ab2 jbe short loc_140202B03 ; +0x96, 0x140202ab6 inc rdx ; +0x98, 0x140202ab8 mov r8, [rsp+78h+Block] ; +0x9b, 0x140202abb mov rcx, r8 ; +0xa0, 0x140202ac0 cmp rdx, 1000h ; +0xa3, 0x140202ac3 jb short loc_140202AFB ; +0xaa, 0x140202aca add rdx, 27h ; ''' ; +0xac, 0x140202acc mov r8, [r8-8] ; +0xb0, 0x140202ad0 sub rcx, r8 ; +0xb4, 0x140202ad4 sub rcx, 8 ; +0xb7, 0x140202ad7 cmp rcx, 1Fh ; +0xbb, 0x140202adb jbe short loc_140202AFB ; +0xbf, 0x140202adf mov [rsp+78h+Reserved], 0; Reserved ; +0xc1, 0x140202ae1 xor r9d, r9d; LineNo ; +0xca, 0x140202aea xor r8d, r8d; FileName ; +0xcd, 0x140202aed xor edx, edx; FunctionName ; +0xd0, 0x140202af0 xor ecx, ecx; Expression ; +0xd2, 0x140202af2 call cs:_invoke_watson ; +0xd4, 0x140202af4 db 0CCh ; +0xda, 0x140202afa mov rcx, r8; Block ; +0xdb, 0x140202afb call j_j_free ; +0xde, 0x140202afe movdqa xmm0, cs:Size ; +0xe3, 0x140202b03 movdqu [rsp+78h+var_28], xmm0 ; +0xeb, 0x140202b0b mov byte ptr [rsp+78h+Block], 0 ; +0xf1, 0x140202b11 test rbx, rbx ; +0xf6, 0x140202b16 jz loc_140202BA5 ; +0xf9, 0x140202b19 mov rax, [rbx] ; +0xff, 0x140202b1f mov rcx, rbx ; +0x102, 0x140202b22 call qword ptr [rax+3B8h] ; +0x105, 0x140202b25 mov rbx, rax ; +0x10b, 0x140202b2b movzx ecx, word ptr [rdi] ; +0x10e, 0x140202b2e mov [rsp+78h+var_48], cx ; +0x111, 0x140202b31 movzx ecx, byte ptr [rdi+2] ; +0x116, 0x140202b36 mov [rsp+78h+var_46], cl ; +0x11a, 0x140202b3a mov rcx, [rax+278h] ; +0x11e, 0x140202b3e test rcx, rcx ; +0x125, 0x140202b45 jz short loc_140202B5F ; +0x128, 0x140202b48 add rcx, 170h ; +0x12a, 0x140202b4a mov rdx, [rcx] ; +0x131, 0x140202b51 mov r8, [rdx] ; +0x134, 0x140202b54 lea rdx, [rsp+78h+var_48] ; +0x137, 0x140202b57 call r8 ; +0x13c, 0x140202b5c mov rcx, [rbx+280h] ; +0x13f, 0x140202b5f test rcx, rcx ; +0x146, 0x140202b66 jz short loc_140202B7C ; +0x149, 0x140202b69 add rcx, 140h ; +0x14b, 0x140202b6b mov rax, [rcx] ; +0x152, 0x140202b72 lea rdx, [rsp+78h+var_48] ; +0x155, 0x140202b75 call qword ptr [rax] ; +0x15a, 0x140202b7a mov rcx, [rbx+290h] ; +0x15c, 0x140202b7c test rcx, rcx ; +0x163, 0x140202b83 jnz short loc_140202B94 ; +0x166, 0x140202b86 mov rcx, [rbx+288h] ; +0x168, 0x140202b88 test rcx, rcx ; +0x16f, 0x140202b8f jz short loc_140202BA5 ; +0x172, 0x140202b92 add rcx, 140h ; +0x174, 0x140202b94 mov rax, [rcx] ; +0x17b, 0x140202b9b lea rdx, [rsp+78h+var_48] ; +0x17e, 0x140202b9e call qword ptr [rax] ; +0x183, 0x140202ba3 mov rcx, [rsp+78h+var_18] ; +0x185, 0x140202ba5 xor rcx, rsp; StackCookie ; +0x18a, 0x140202baa call __security_check_cookie ; +0x18d, 0x140202bad mov rbx, [rsp+78h+arg_18] ; +0x192, 0x140202bb2 add rsp, 70h ; +0x19a, 0x140202bba pop rdi ; +0x19e, 0x140202bbe retn ; +0x19f, 0x140202bbf