; ; EditorUI::scaleXChanged from 0x140202ff0 to 0x1402030ee (254 bytes) ; ; 2 xrefs: ; > @ 0x1407517c8 ; > @ 0x14091afcc ; ; 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_8], rbx ; +0x0, 0x140202ff0 mov [rsp+arg_10], rbp ; +0x5, 0x140202ff5 mov [rsp+arg_18], rsi ; +0xa, 0x140202ffa push rdi ; +0xf, 0x140202fff sub rsp, 50h ; +0x10, 0x140203000 mov rbx, [rcx+470h] ; +0x14, 0x140203004 movzx ebp, r8b ; +0x1b, 0x14020300b movaps [rsp+58h+var_18], xmm7 ; +0x1f, 0x14020300f movaps xmm7, xmm1 ; +0x24, 0x140203014 mov rdi, rcx ; +0x27, 0x140203017 test rbx, rbx ; +0x2a, 0x14020301a jz short loc_140203086 ; +0x2d, 0x14020301d mulss xmm7, dword ptr [rbx+528h] ; +0x2f, 0x14020301f mulss xmm7, cs:dword_140835AA4 ; +0x37, 0x140203027 movaps xmm0, xmm7; X ; +0x3f, 0x14020302f call cs:__imp_roundf ; +0x42, 0x140203032 mov rcx, rbx ; +0x48, 0x140203038 mov dword ptr [rbx+40h], 0 ; +0x4b, 0x14020303b cvttss2si eax, xmm0 ; +0x52, 0x140203042 movd xmm1, eax ; +0x56, 0x140203046 mov rax, [rbx] ; +0x5a, 0x14020304a cvtdq2ps xmm1, xmm1 ; +0x5d, 0x14020304d divss xmm1, cs:dword_140835AA4 ; +0x60, 0x140203050 movss dword ptr [rbx+488h], xmm1 ; +0x68, 0x140203058 movss dword ptr [rbx+3E4h], xmm1 ; +0x70, 0x140203060 movss xmm1, cs:flt_140835080 ; +0x78, 0x140203068 call qword ptr [rax+508h] ; +0x80, 0x140203070 mov byte ptr [rbx+350h], 1 ; +0x86, 0x140203076 mov byte ptr [rbx+368h], 1 ; +0x8d, 0x14020307d jmp short loc_1402030D4 ; +0x94, 0x140203084 mov rcx, [rcx+200h] ; +0x96, 0x140203086 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x9d, 0x14020308d test eax, eax ; +0xa3, 0x140203093 jz short loc_1402030D4 ; +0xa5, 0x140203095 lea rdx, [rdi+180h] ; +0xa7, 0x140203097 lea rcx, [rsp+58h+arg_0] ; +0xae, 0x14020309e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xb3, 0x1402030a3 mov rdx, [rdi+200h] ; +0xb9, 0x1402030a9 lea rcx, [rdi-1B0h] ; +0xc0, 0x1402030b0 mov [rsp+58h+var_28], bpl ; +0xc7, 0x1402030b7 xorps xmm3, xmm3 ; +0xcc, 0x1402030bc mov [rsp+58h+var_30], 1 ; +0xcf, 0x1402030bf movaps xmm2, xmm7 ; +0xd7, 0x1402030c7 mov [rsp+58h+var_38], rax ; +0xda, 0x1402030ca call EditorUI__scaleObjects ; +0xdf, 0x1402030cf mov rbx, [rsp+58h+arg_8] ; +0xe4, 0x1402030d4 mov rbp, [rsp+58h+arg_10] ; +0xe9, 0x1402030d9 mov rsi, [rsp+58h+arg_18] ; +0xee, 0x1402030de movaps xmm7, [rsp+58h+var_18] ; +0xf3, 0x1402030e3 add rsp, 50h ; +0xf8, 0x1402030e8 pop rdi ; +0xfc, 0x1402030ec retn ; +0xfd, 0x1402030ed