{"type": "func", "start": 7112744, "end": 7112872, "name": "CCSpritePlus::setScale", "pseudocode": "// \n// CCSpritePlus::setScale from 0x6c8828 to 0x6c88a8 (128 bytes)\n// \n// 5 xrefs:\n// > GameObject::setScale @ 0x76cbb4\n// > <???> @ 0x9d018\n// > <???> @ 0x1417800\n// > <???> @ 0x1421800\n// > <???> @ 0x14918e0\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::setScale(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::setScale((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 + 160LL))(v6, a2);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setScale from 0x6c8828 to 0x6c88a8 (128 bytes)\n; \n; 5 xrefs:\n; > GameObject::setScale @ 0x76cbb4\n; > <???> @ 0x9d018\n; > <???> @ 0x1417800\n; > <???> @ 0x1421800\n; > <???> @ 0x14918e0\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, 0x6c8828\nMOV             X29, SP                                                ; +0x4, 0x6c882c\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x6c8830\nFMOV            S8, S0                                                 ; +0xc, 0x6c8834\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x6c8838\nMOV             X20, X0                                                ; +0x14, 0x6c883c\nBL              _ZN7cocos2d8CCSprite8setScaleEf; cocos2d::CCSprite::setScale(float) ; +0x18, 0x6c8840\nLDRB            W0, [X20,#0x268]                                       ; +0x1c, 0x6c8844\nCBZ             W0, loc_6C8858                                         ; +0x20, 0x6c8848\nLDRB            W0, [X20,#0x269]                                       ; +0x24, 0x6c884c\nMOV             W19, #0                                                ; +0x28, 0x6c8850\nCBNZ            W0, loc_6C8880                                         ; +0x2c, 0x6c8854\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x30, 0x6c8858\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x34, 0x6c885c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x6c8860\nRET                                                                    ; +0x3c, 0x6c8864\nLDR             X0, [X20,#0x258]; this                                 ; +0x40, 0x6c8868\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x6c886c\nLDR             X1, [X0]                                               ; +0x48, 0x6c8870\nFMOV            S0, S8                                                 ; +0x4c, 0x6c8874\nLDR             X1, [X1,#0xA0]                                         ; +0x50, 0x6c8878\nBLR             X1                                                     ; +0x54, 0x6c887c\nLDR             X0, [X20,#0x258]; this                                 ; +0x58, 0x6c8880\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0x6c8884\nCMP             W19, W0                                                ; +0x60, 0x6c8888\nMOV             W1, W19; unsigned int                                  ; +0x64, 0x6c888c\nADD             W19, W19, #1                                           ; +0x68, 0x6c8890\nB.CC            loc_6C8868                                             ; +0x6c, 0x6c8894\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x70, 0x6c8898\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x74, 0x6c889c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x6c88a0\nRET                                                                    ; +0x7c, 0x6c88a4", "xrefs": ["GameObject::setScale @ 0x76cbb4", "<???> @ 0x9d018", "<???> @ 0x1417800", "<???> @ 0x1421800", "<???> @ 0x14918e0"], "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"}