{"type": "func", "start": 5932008, "end": 5932136, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x5a83e8 to 0x5a8468 (128 bytes)\n// \n// 5 xrefs:\n// > GameObject::setScaleX @ 0x640ee0\n// > <???> @ 0x91128\n// > <???> @ 0x1139980\n// > <???> @ 0x1142b80\n// > <???> @ 0x11aa740\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 v4; // w19\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  cocos2d::CCSprite::setScaleX(a1, a2);\n  if ( a1->m_hasFollower )\n  {\n    v4 = 0;\n    if ( a1->m_propagateScaleChanges )\n    {\n      while ( 1 )\n      {\n        v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_followers);\n        v7 = v4++;\n        if ( v6 )\n          break;\n        v5 = cocos2d::CCArray::objectAtIndex(a1->m_followers, v7);\n        (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 128LL))(v5, a2);\n      }\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setScaleX from 0x5a83e8 to 0x5a8468 (128 bytes)\n; \n; 5 xrefs:\n; > GameObject::setScaleX @ 0x640ee0\n; > <???> @ 0x91128\n; > <???> @ 0x1139980\n; > <???> @ 0x1142b80\n; > <???> @ 0x11aa740\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x5a83e8\nMOV             X29, SP                                                ; +0x4, 0x5a83ec\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x5a83f0\nFMOV            S8, S0                                                 ; +0xc, 0x5a83f4\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x5a83f8\nMOV             X20, X0                                                ; +0x14, 0x5a83fc\nBL              _ZN7cocos2d8CCSprite9setScaleXEf; cocos2d::CCSprite::setScaleX(float) ; +0x18, 0x5a8400\nLDRB            W0, [X20,#0x268]                                       ; +0x1c, 0x5a8404\nCBZ             W0, loc_5A8418                                         ; +0x20, 0x5a8408\nLDRB            W0, [X20,#0x269]                                       ; +0x24, 0x5a840c\nMOV             W19, #0                                                ; +0x28, 0x5a8410\nCBNZ            W0, loc_5A8440                                         ; +0x2c, 0x5a8414\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x30, 0x5a8418\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x34, 0x5a841c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x5a8420\nRET                                                                    ; +0x3c, 0x5a8424\nLDR             X0, [X20,#0x258]; this                                 ; +0x40, 0x5a8428\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x5a842c\nLDR             X1, [X0]                                               ; +0x48, 0x5a8430\nFMOV            S0, S8                                                 ; +0x4c, 0x5a8434\nLDR             X1, [X1,#0x80]                                         ; +0x50, 0x5a8438\nBLR             X1                                                     ; +0x54, 0x5a843c\nLDR             X0, [X20,#0x258]; this                                 ; +0x58, 0x5a8440\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0x5a8444\nCMP             W19, W0                                                ; +0x60, 0x5a8448\nMOV             W1, W19; unsigned int                                  ; +0x64, 0x5a844c\nADD             W19, W19, #1                                           ; +0x68, 0x5a8450\nB.CC            loc_5A8428                                             ; +0x6c, 0x5a8454\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x70, 0x5a8458\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x74, 0x5a845c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x5a8460\nRET                                                                    ; +0x7c, 0x5a8464", "xrefs": ["GameObject::setScaleX @ 0x640ee0", "<???> @ 0x91128", "<???> @ 0x1139980", "<???> @ 0x1142b80", "<???> @ 0x11aa740"], "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"}