; ; CCSpritePlus::setScaleX from 0x140048240 to 0x1400482bf (127 bytes) ; ; 6 xrefs: ; > @ 0x14052f298 ; > @ 0x14052f6e0 ; > @ 0x140543c78 ; > @ 0x140663060 ; > @ 0x140663070 ; > @ 0x1406c4ae8 ; ; 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, 0x140048240 sub rsp, 30h ; +0x2, 0x140048242 movaps [rsp+38h+var_18], xmm6 ; +0x6, 0x140048246 mov rbx, rcx ; +0xb, 0x14004824b movaps xmm6, xmm1 ; +0xe, 0x14004824e call cs:__imp_?setScaleX@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setScaleX(float) ; +0x11, 0x140048251 cmp byte ptr [rbx+268h], 0 ; +0x17, 0x140048257 jz short loc_1400482B4 ; +0x1e, 0x14004825e cmp byte ptr [rbx+269h], 0 ; +0x20, 0x140048260 jz short loc_1400482B4 ; +0x27, 0x140048267 mov rcx, [rbx+258h] ; +0x29, 0x140048269 mov [rsp+38h+arg_0], rdi ; +0x30, 0x140048270 xor edi, edi ; +0x35, 0x140048275 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x140048277 test eax, eax ; +0x3d, 0x14004827d jz short loc_1400482AF ; +0x3f, 0x14004827f mov rcx, [rbx+258h] ; +0x41, 0x140048281 mov edx, edi ; +0x48, 0x140048288 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x14004828a movaps xmm1, xmm6 ; +0x50, 0x140048290 mov rcx, rax ; +0x53, 0x140048293 mov rdx, [rax] ; +0x56, 0x140048296 call qword ptr [rdx+78h] ; +0x59, 0x140048299 mov rcx, [rbx+258h] ; +0x5c, 0x14004829c inc edi ; +0x63, 0x1400482a3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x65, 0x1400482a5 cmp edi, eax ; +0x6b, 0x1400482ab jb short loc_140048281 ; +0x6d, 0x1400482ad mov rdi, [rsp+38h+arg_0] ; +0x6f, 0x1400482af movaps xmm6, [rsp+38h+var_18] ; +0x74, 0x1400482b4 add rsp, 30h ; +0x79, 0x1400482b9 pop rbx ; +0x7d, 0x1400482bd retn ; +0x7e, 0x1400482be