{"type": "func", "start": 5369004608, "end": 5369004735, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x140048240 to 0x1400482bf (127 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x14052f298\n// > <???> @ 0x14052f6e0\n// > <???> @ 0x140543c78\n// > <???> @ 0x140663060\n// > <???> @ 0x140663070\n// > <???> @ 0x1406c4ae8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCSpritePlus::setScaleX(CCSpritePlus *a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCSprite::setScaleX(a1, a2);\n  if ( a1->m_hasFollower && a1->m_propagateScaleChanges )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_followers); ++i )\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(a1->m_followers, i);\n      v4->__vftable[1].canEncode(v4);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setScaleX from 0x140048240 to 0x1400482bf (127 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x14052f298\n; > <???> @ 0x14052f6e0\n; > <???> @ 0x140543c78\n; > <???> @ 0x140663060\n; > <???> @ 0x140663070\n; > <???> @ 0x1406c4ae8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140048240\nsub     rsp, 30h                                                       ; +0x2, 0x140048242\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x140048246\nmov     rbx, rcx                                                       ; +0xb, 0x14004824b\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x14004824e\ncall    cs:__imp_?setScaleX@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setScaleX(float) ; +0x11, 0x140048251\ncmp     byte ptr [rbx+268h], 0                                         ; +0x17, 0x140048257\njz      short loc_1400482B4                                            ; +0x1e, 0x14004825e\ncmp     byte ptr [rbx+269h], 0                                         ; +0x20, 0x140048260\njz      short loc_1400482B4                                            ; +0x27, 0x140048267\nmov     rcx, [rbx+258h]                                                ; +0x29, 0x140048269\nmov     [rsp+38h+arg_0], rdi                                           ; +0x30, 0x140048270\nxor     edi, edi                                                       ; +0x35, 0x140048275\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x140048277\ntest    eax, eax                                                       ; +0x3d, 0x14004827d\njz      short loc_1400482AF                                            ; +0x3f, 0x14004827f\nmov     rcx, [rbx+258h]                                                ; +0x41, 0x140048281\nmov     edx, edi                                                       ; +0x48, 0x140048288\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x14004828a\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x140048290\nmov     rcx, rax                                                       ; +0x53, 0x140048293\nmov     rdx, [rax]                                                     ; +0x56, 0x140048296\ncall    qword ptr [rdx+78h]                                            ; +0x59, 0x140048299\nmov     rcx, [rbx+258h]                                                ; +0x5c, 0x14004829c\ninc     edi                                                            ; +0x63, 0x1400482a3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x65, 0x1400482a5\ncmp     edi, eax                                                       ; +0x6b, 0x1400482ab\njb      short loc_140048281                                            ; +0x6d, 0x1400482ad\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x6f, 0x1400482af\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x74, 0x1400482b4\nadd     rsp, 30h                                                       ; +0x79, 0x1400482b9\npop     rbx                                                            ; +0x7d, 0x1400482bd\nretn                                                                   ; +0x7e, 0x1400482be", "xrefs": ["<???> @ 0x14052f298", "<???> @ 0x14052f6e0", "<???> @ 0x140543c78", "<???> @ 0x140663060", "<???> @ 0x140663070", "<???> @ 0x1406c4ae8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}