{"type": "func", "start": 5369021152, "end": 5369021282, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x14004c2e0 to 0x14004c362 (130 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x140709ec0\n// > <???> @ 0x14070a318\n// > <???> @ 0x1407385c0\n// > <???> @ 0x1408860ec\n// > <???> @ 0x1408860fc\n// > <???> @ 0x14090ffd4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:33 +0000\n// \n\nvoid __fastcall CCSpritePlus::setScaleX(__int64 a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCSprite::setScaleX((cocos2d::CCSprite *)a1, a2);\n  if ( *(_BYTE *)(a1 + 616) )\n  {\n    if ( *(_BYTE *)(a1 + 617) )\n    {\n      for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )\n      {\n        v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);\n        (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 120LL))(v4);\n      }\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setScaleX from 0x14004c2e0 to 0x14004c362 (130 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x140709ec0\n; > <???> @ 0x14070a318\n; > <???> @ 0x1407385c0\n; > <???> @ 0x1408860ec\n; > <???> @ 0x1408860fc\n; > <???> @ 0x14090ffd4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x14004c2e0\nsub     rsp, 30h                                                       ; +0x2, 0x14004c2e2\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x14004c2e6\nmov     rbx, rcx                                                       ; +0xb, 0x14004c2eb\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x14004c2ee\ncall    cs:__imp_?setScaleX@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setScaleX(float) ; +0x11, 0x14004c2f1\ncmp     byte ptr [rbx+268h], 0                                         ; +0x17, 0x14004c2f7\njz      short loc_14004C357                                            ; +0x1e, 0x14004c2fe\ncmp     byte ptr [rbx+269h], 0                                         ; +0x20, 0x14004c300\njz      short loc_14004C357                                            ; +0x27, 0x14004c307\nmov     rcx, [rbx+258h]                                                ; +0x29, 0x14004c309\nmov     [rsp+38h+arg_0], rdi                                           ; +0x30, 0x14004c310\nxor     edi, edi                                                       ; +0x35, 0x14004c315\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x14004c317\ntest    eax, eax                                                       ; +0x3d, 0x14004c31d\njz      short loc_14004C352                                            ; +0x3f, 0x14004c31f\nmov     rcx, [rbx+258h]                                                ; +0x41, 0x14004c321\nmov     edx, edi                                                       ; +0x48, 0x14004c328\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x14004c32a\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x14004c330\nmov     rcx, [rax]                                                     ; +0x53, 0x14004c333\nmov     rdx, [rcx+78h]                                                 ; +0x56, 0x14004c336\nmov     rcx, rax                                                       ; +0x5a, 0x14004c33a\ncall    rdx                                                            ; +0x5d, 0x14004c33d\nmov     rcx, [rbx+258h]                                                ; +0x5f, 0x14004c33f\ninc     edi                                                            ; +0x66, 0x14004c346\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x14004c348\ncmp     edi, eax                                                       ; +0x6e, 0x14004c34e\njb      short loc_14004C321                                            ; +0x70, 0x14004c350\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x72, 0x14004c352\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x77, 0x14004c357\nadd     rsp, 30h                                                       ; +0x7c, 0x14004c35c\npop     rbx                                                            ; +0x80, 0x14004c360\nretn                                                                   ; +0x81, 0x14004c361", "xrefs": ["<???> @ 0x140709ec0", "<???> @ 0x14070a318", "<???> @ 0x1407385c0", "<???> @ 0x1408860ec", "<???> @ 0x1408860fc", "<???> @ 0x14090ffd4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}