; ; EditorUI::updateScaleControl from 0x140202e80 to 0x140202fd7 (343 bytes) ; ; 4 xrefs: ; > @ 0x1407517f0 ; > @ 0x1408a3f88 ; > @ 0x1408a3fe0 ; > @ 0x14091af78 ; ; 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 ; push rdi ; +0x0, 0x140202e80 sub rsp, 20h ; +0x2, 0x140202e82 mov rdi, rcx ; +0x6, 0x140202e86 mov rcx, [rcx+190h] ; +0x9, 0x140202e89 mov rax, [rcx] ; +0x10, 0x140202e90 call qword ptr [rax+158h] ; +0x13, 0x140202e93 test al, al ; +0x19, 0x140202e99 jz loc_140202FD1 ; +0x1b, 0x140202e9b mov rcx, [rdi+470h] ; +0x21, 0x140202ea1 mov [rsp+28h+arg_8], rbp ; +0x28, 0x140202ea8 xor bpl, bpl ; +0x2d, 0x140202ead mov [rsp+28h+arg_18], r14 ; +0x30, 0x140202eb0 test rcx, rcx ; +0x35, 0x140202eb5 jz short loc_140202ECB ; +0x38, 0x140202eb8 call GameObject__isTrigger ; +0x3a, 0x140202eba movzx ebp, al ; +0x3f, 0x140202ebf lea r14, [rdi+200h] ; +0x42, 0x140202ec2 jmp short loc_140202F35 ; +0x49, 0x140202ec9 mov [rsp+28h+arg_10], rsi ; +0x4b, 0x140202ecb lea rsi, [rdi+200h] ; +0x50, 0x140202ed0 mov rcx, [rsi] ; +0x57, 0x140202ed7 mov r14, rsi ; +0x5a, 0x140202eda call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5d, 0x140202edd test eax, eax ; +0x63, 0x140202ee3 jz short loc_140202F30 ; +0x65, 0x140202ee5 mov rcx, [rsi] ; +0x67, 0x140202ee7 mov bpl, 1 ; +0x6a, 0x140202eea mov [rsp+28h+arg_0], rbx ; +0x6d, 0x140202eed xor ebx, ebx ; +0x72, 0x140202ef2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x140202ef4 test eax, eax ; +0x7a, 0x140202efa jz short loc_140202F2B ; +0x7c, 0x140202efc xchg ax, ax ; +0x7e, 0x140202efe mov rcx, [rsi] ; +0x80, 0x140202f00 mov edx, ebx ; +0x83, 0x140202f03 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x85, 0x140202f05 mov rcx, rax ; +0x8b, 0x140202f0b call GameObject__isTrigger ; +0x8e, 0x140202f0e test al, al ; +0x93, 0x140202f13 jz short loc_140202F28 ; +0x95, 0x140202f15 mov rcx, [rsi] ; +0x97, 0x140202f17 inc ebx ; +0x9a, 0x140202f1a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x9c, 0x140202f1c cmp ebx, eax ; +0xa2, 0x140202f22 jb short loc_140202F00 ; +0xa4, 0x140202f24 jmp short loc_140202F2B ; +0xa6, 0x140202f26 xor bpl, bpl ; +0xa8, 0x140202f28 mov rbx, [rsp+28h+arg_0] ; +0xab, 0x140202f2b mov rsi, [rsp+28h+arg_10] ; +0xb0, 0x140202f30 cmp byte ptr [rdi+133h], 0 ; +0xb5, 0x140202f35 mov rax, [rdi+190h] ; +0xbc, 0x140202f3c jz short loc_140202F62 ; +0xc3, 0x140202f43 mov dword ptr [rax+248h], 40800000h ; +0xc5, 0x140202f45 mov rax, [rdi+190h] ; +0xcf, 0x140202f4f mov dword ptr [rax+24Ch], 3E800000h ; +0xd6, 0x140202f56 jmp short loc_140202FAD ; +0xe0, 0x140202f60 mov dword ptr [rax+24Ch], 3F000000h ; +0xe2, 0x140202f62 test bpl, bpl ; +0xec, 0x140202f6c jnz short loc_140202F9C ; +0xef, 0x140202f6f mov rax, [rdi+470h] ; +0xf1, 0x140202f71 test rax, rax ; +0xf8, 0x140202f78 jz short loc_140202F89 ; +0xfb, 0x140202f7b cmp dword ptr [rax+40Ch], 2EBh ; +0xfd, 0x140202f7d jz short loc_140202F9C ; +0x107, 0x140202f87 mov rax, [rdi+190h] ; +0x109, 0x140202f89 mov dword ptr [rax+248h], 40000000h ; +0x110, 0x140202f90 jmp short loc_140202FAD ; +0x11a, 0x140202f9a mov rax, [rdi+190h] ; +0x11c, 0x140202f9c mov dword ptr [rax+248h], 40800000h ; +0x123, 0x140202fa3 mov r8, [r14] ; +0x12d, 0x140202fad lea r9, [rdi+20h] ; +0x130, 0x140202fb0 mov rdx, [rdi+470h] ; +0x134, 0x140202fb4 mov rcx, [rdi+190h] ; +0x13b, 0x140202fbb call GJScaleControl__loadValues ; +0x142, 0x140202fc2 mov r14, [rsp+28h+arg_18] ; +0x147, 0x140202fc7 mov rbp, [rsp+28h+arg_8] ; +0x14c, 0x140202fcc add rsp, 20h ; +0x151, 0x140202fd1 pop rdi ; +0x155, 0x140202fd5 retn ; +0x156, 0x140202fd6