{"type": "func", "start": 5369004880, "end": 5369005010, "name": "CCSpritePlus::setScale", "pseudocode": "// \n// CCSpritePlus::setScale from 0x140048350 to 0x1400483d2 (130 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x14052f2c0\n// > <???> @ 0x14052f708\n// > <???> @ 0x140543ca0\n// > <???> @ 0x1406630a8\n// > <???> @ 0x1406630b8\n// > <???> @ 0x1406c4b30\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::setScale(CCSpritePlus *a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCSprite::setScale(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      ((void (__fastcall *)(struct cocos2d::CCObject *))v4->__vftable[2].isEqual)(v4);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setScale from 0x140048350 to 0x1400483d2 (130 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x14052f2c0\n; > <???> @ 0x14052f708\n; > <???> @ 0x140543ca0\n; > <???> @ 0x1406630a8\n; > <???> @ 0x1406630b8\n; > <???> @ 0x1406c4b30\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, 0x140048350\nsub     rsp, 30h                                                       ; +0x2, 0x140048352\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x140048356\nmov     rbx, rcx                                                       ; +0xb, 0x14004835b\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x14004835e\ncall    cs:__imp_?setScale@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setScale(float) ; +0x11, 0x140048361\ncmp     byte ptr [rbx+268h], 0                                         ; +0x17, 0x140048367\njz      short loc_1400483C7                                            ; +0x1e, 0x14004836e\ncmp     byte ptr [rbx+269h], 0                                         ; +0x20, 0x140048370\njz      short loc_1400483C7                                            ; +0x27, 0x140048377\nmov     rcx, [rbx+258h]                                                ; +0x29, 0x140048379\nmov     [rsp+38h+arg_0], rdi                                           ; +0x30, 0x140048380\nxor     edi, edi                                                       ; +0x35, 0x140048385\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x140048387\ntest    eax, eax                                                       ; +0x3d, 0x14004838d\njz      short loc_1400483C2                                            ; +0x3f, 0x14004838f\nmov     rcx, [rbx+258h]                                                ; +0x41, 0x140048391\nmov     edx, edi                                                       ; +0x48, 0x140048398\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x14004839a\nmovaps  xmm1, xmm6                                                     ; +0x50, 0x1400483a0\nmov     rcx, rax                                                       ; +0x53, 0x1400483a3\nmov     rdx, [rax]                                                     ; +0x56, 0x1400483a6\ncall    qword ptr [rdx+0A0h]                                           ; +0x59, 0x1400483a9\nmov     rcx, [rbx+258h]                                                ; +0x5f, 0x1400483af\ninc     edi                                                            ; +0x66, 0x1400483b6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x1400483b8\ncmp     edi, eax                                                       ; +0x6e, 0x1400483be\njb      short loc_140048391                                            ; +0x70, 0x1400483c0\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x72, 0x1400483c2\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x77, 0x1400483c7\nadd     rsp, 30h                                                       ; +0x7c, 0x1400483cc\npop     rbx                                                            ; +0x80, 0x1400483d0\nretn                                                                   ; +0x81, 0x1400483d1", "xrefs": ["<???> @ 0x14052f2c0", "<???> @ 0x14052f708", "<???> @ 0x140543ca0", "<???> @ 0x1406630a8", "<???> @ 0x1406630b8", "<???> @ 0x1406c4b30"], "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"}