{"type": "func", "start": 4296769796, "end": 4296769928, "name": "CCSpritePlus::setScale", "pseudocode": "// \n// CCSpritePlus::setScale from 0x1001b8104 to 0x1001b8188 (132 bytes)\n// \n// 4 xrefs:\n// > GameObject::setScale @ 0x10025b748\n// > <???> @ 0x10077b820\n// > <???> @ 0x1007b3028\n// > <???> @ 0x1007ef6a8\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 __fastcall CCSpritePlus::setScale(CCSpritePlus *a1, float a2)\n{\n  __int64 v4; // x20\n  __int64 v5; // x0\n\n  cocos2d::CCSprite::setScale(a1, a2);\n  if ( __PAIR64__(a1->m_propagateScaleChanges, a1->m_hasFollower) == 0x100000001LL\n    && (unsigned int)sub_10024A36C(a1->m_followers) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_10024A388(a1->m_followers, v4);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, a2);\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_followers) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setScale from 0x1001b8104 to 0x1001b8188 (132 bytes)\n; \n; 4 xrefs:\n; > GameObject::setScale @ 0x10025b748\n; > <???> @ 0x10077b820\n; > <???> @ 0x1007b3028\n; > <???> @ 0x1007ef6a8\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1001b8104\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001b8108\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001b810c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001b8110\nFMOV            S8, S0                                                 ; +0x10, 0x1001b8114\nMOV             X19, X0                                                ; +0x14, 0x1001b8118\nBL              cocos2d__CCSprite__setScale                            ; +0x18, 0x1001b811c\nLDRB            W8, [X19,#0x268]                                       ; +0x1c, 0x1001b8120\nCMP             W8, #1                                                 ; +0x20, 0x1001b8124\nB.NE            loc_1001B8178                                          ; +0x24, 0x1001b8128\nLDRB            W8, [X19,#0x269]                                       ; +0x28, 0x1001b812c\nCMP             W8, #1                                                 ; +0x2c, 0x1001b8130\nB.NE            loc_1001B8178                                          ; +0x30, 0x1001b8134\nLDR             X0, [X19,#0x258]                                       ; +0x34, 0x1001b8138\nBL              sub_10024A36C                                          ; +0x38, 0x1001b813c\nCBZ             W0, loc_1001B8178                                      ; +0x3c, 0x1001b8140\nMOV             W20, #0                                                ; +0x40, 0x1001b8144\nLDR             X0, [X19,#0x258]                                       ; +0x44, 0x1001b8148\nMOV             X1, X20                                                ; +0x48, 0x1001b814c\nBL              sub_10024A388                                          ; +0x4c, 0x1001b8150\nLDR             X8, [X0]                                               ; +0x50, 0x1001b8154\nLDR             X8, [X8,#0xA0]                                         ; +0x54, 0x1001b8158\nFMOV            S0, S8                                                 ; +0x58, 0x1001b815c\nBLR             X8                                                     ; +0x5c, 0x1001b8160\nADD             W20, W20, #1                                           ; +0x60, 0x1001b8164\nLDR             X0, [X19,#0x258]                                       ; +0x64, 0x1001b8168\nBL              sub_10024A36C                                          ; +0x68, 0x1001b816c\nCMP             W20, W0                                                ; +0x6c, 0x1001b8170\nB.CC            loc_1001B8148                                          ; +0x70, 0x1001b8174\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x1001b8178\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x1001b817c\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x7c, 0x1001b8180\nRET                                                                    ; +0x80, 0x1001b8184", "xrefs": ["GameObject::setScale @ 0x10025b748", "<???> @ 0x10077b820", "<???> @ 0x1007b3028", "<???> @ 0x1007ef6a8"], "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"}