{"type": "func", "start": 7112488, "end": 7112616, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x6c8728 to 0x6c87a8 (128 bytes)\n// \n// 5 xrefs:\n// > GameObject::setScaleX @ 0x76ca94\n// > <???> @ 0xbfde8\n// > <???> @ 0x14177e0\n// > <???> @ 0x14217e0\n// > <???> @ 0x14918c0\n// \n// This function is hookable on this platform (idp: arm, 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 12:51:22 +0000\n// \n\n__int64 __fastcall CCSpritePlus::setScaleX(cocos2d::CCArray **this, float a2)\n{\n  __int64 result; // x0\n  unsigned int v5; // w19\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  cocos2d::CCSprite::setScaleX((cocos2d::CCSprite *)this, a2);\n  result = *((unsigned __int8 *)this + 616);\n  if ( *((_BYTE *)this + 616) )\n  {\n    result = *((unsigned __int8 *)this + 617);\n    v5 = 0;\n    if ( *((_BYTE *)this + 617) )\n    {\n      while ( 1 )\n      {\n        result = cocos2d::CCArray::count(*(this + 75));\n        v7 = v5 >= (unsigned int)result;\n        v8 = v5++;\n        if ( v7 )\n          break;\n        v6 = cocos2d::CCArray::objectAtIndex(*(this + 75), v8);\n        (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 128LL))(v6, a2);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setScaleX from 0x6c8728 to 0x6c87a8 (128 bytes)\n; \n; 5 xrefs:\n; > GameObject::setScaleX @ 0x76ca94\n; > <???> @ 0xbfde8\n; > <???> @ 0x14177e0\n; > <???> @ 0x14217e0\n; > <???> @ 0x14918c0\n; \n; This function is hookable on this platform (idp: arm, 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 12:51:22 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6c8728\nMOV             X29, SP                                                ; +0x4, 0x6c872c\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x6c8730\nFMOV            S8, S0                                                 ; +0xc, 0x6c8734\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x6c8738\nMOV             X20, X0                                                ; +0x14, 0x6c873c\nBL              _ZN7cocos2d8CCSprite9setScaleXEf; cocos2d::CCSprite::setScaleX(float) ; +0x18, 0x6c8740\nLDRB            W0, [X20,#0x268]                                       ; +0x1c, 0x6c8744\nCBZ             W0, loc_6C8758                                         ; +0x20, 0x6c8748\nLDRB            W0, [X20,#0x269]                                       ; +0x24, 0x6c874c\nMOV             W19, #0                                                ; +0x28, 0x6c8750\nCBNZ            W0, loc_6C8780                                         ; +0x2c, 0x6c8754\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x30, 0x6c8758\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x34, 0x6c875c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x6c8760\nRET                                                                    ; +0x3c, 0x6c8764\nLDR             X0, [X20,#0x258]; this                                 ; +0x40, 0x6c8768\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x6c876c\nLDR             X1, [X0]                                               ; +0x48, 0x6c8770\nFMOV            S0, S8                                                 ; +0x4c, 0x6c8774\nLDR             X1, [X1,#0x80]                                         ; +0x50, 0x6c8778\nBLR             X1                                                     ; +0x54, 0x6c877c\nLDR             X0, [X20,#0x258]; this                                 ; +0x58, 0x6c8780\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0x6c8784\nCMP             W19, W0                                                ; +0x60, 0x6c8788\nMOV             W1, W19; unsigned int                                  ; +0x64, 0x6c878c\nADD             W19, W19, #1                                           ; +0x68, 0x6c8790\nB.CC            loc_6C8768                                             ; +0x6c, 0x6c8794\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x70, 0x6c8798\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x74, 0x6c879c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x6c87a0\nRET                                                                    ; +0x7c, 0x6c87a4", "xrefs": ["GameObject::setScaleX @ 0x76ca94", "<???> @ 0xbfde8", "<???> @ 0x14177e0", "<???> @ 0x14217e0", "<???> @ 0x14918c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}