; ; CCSpritePlus::setScaleX from 0x14004c2e0 to 0x14004c362 (130 bytes) ; ; 6 xrefs: ; > @ 0x140709ec0 ; > @ 0x14070a318 ; > @ 0x1407385c0 ; > @ 0x1408860ec ; > @ 0x1408860fc ; > @ 0x14090ffd4 ; ; 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:25:33 +0000 ; push rbx ; +0x0, 0x14004c2e0 sub rsp, 30h ; +0x2, 0x14004c2e2 movaps [rsp+38h+var_18], xmm6 ; +0x6, 0x14004c2e6 mov rbx, rcx ; +0xb, 0x14004c2eb movaps xmm6, xmm1 ; +0xe, 0x14004c2ee call cs:__imp_?setScaleX@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setScaleX(float) ; +0x11, 0x14004c2f1 cmp byte ptr [rbx+268h], 0 ; +0x17, 0x14004c2f7 jz short loc_14004C357 ; +0x1e, 0x14004c2fe cmp byte ptr [rbx+269h], 0 ; +0x20, 0x14004c300 jz short loc_14004C357 ; +0x27, 0x14004c307 mov rcx, [rbx+258h] ; +0x29, 0x14004c309 mov [rsp+38h+arg_0], rdi ; +0x30, 0x14004c310 xor edi, edi ; +0x35, 0x14004c315 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x14004c317 test eax, eax ; +0x3d, 0x14004c31d jz short loc_14004C352 ; +0x3f, 0x14004c31f mov rcx, [rbx+258h] ; +0x41, 0x14004c321 mov edx, edi ; +0x48, 0x14004c328 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x14004c32a movaps xmm1, xmm6 ; +0x50, 0x14004c330 mov rcx, [rax] ; +0x53, 0x14004c333 mov rdx, [rcx+78h] ; +0x56, 0x14004c336 mov rcx, rax ; +0x5a, 0x14004c33a call rdx ; +0x5d, 0x14004c33d mov rcx, [rbx+258h] ; +0x5f, 0x14004c33f inc edi ; +0x66, 0x14004c346 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x14004c348 cmp edi, eax ; +0x6e, 0x14004c34e jb short loc_14004C321 ; +0x70, 0x14004c350 mov rdi, [rsp+38h+arg_0] ; +0x72, 0x14004c352 movaps xmm6, [rsp+38h+var_18] ; +0x77, 0x14004c357 add rsp, 30h ; +0x7c, 0x14004c35c pop rbx ; +0x80, 0x14004c360 retn ; +0x81, 0x14004c361