{"type": "func", "start": 4296769532, "end": 4296769664, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x1001b7ffc to 0x1001b8080 (132 bytes)\n// \n// 4 xrefs:\n// > GameObject::setScaleX @ 0x10025b618\n// > <???> @ 0x10077b800\n// > <???> @ 0x1007b3008\n// > <???> @ 0x1007ef688\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::setScaleX(CCSpritePlus *a1, float a2)\n{\n  __int64 v4; // x20\n  __int64 v5; // x0\n\n  cocos2d::CCSprite::setScaleX(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 + 128LL))(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::setScaleX from 0x1001b7ffc to 0x1001b8080 (132 bytes)\n; \n; 4 xrefs:\n; > GameObject::setScaleX @ 0x10025b618\n; > <???> @ 0x10077b800\n; > <???> @ 0x1007b3008\n; > <???> @ 0x1007ef688\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, 0x1001b7ffc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001b8000\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001b8004\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001b8008\nFMOV            S8, S0                                                 ; +0x10, 0x1001b800c\nMOV             X19, X0                                                ; +0x14, 0x1001b8010\nBL              cocos2d__CCSprite__setScaleX                           ; +0x18, 0x1001b8014\nLDRB            W8, [X19,#0x268]                                       ; +0x1c, 0x1001b8018\nCMP             W8, #1                                                 ; +0x20, 0x1001b801c\nB.NE            loc_1001B8070                                          ; +0x24, 0x1001b8020\nLDRB            W8, [X19,#0x269]                                       ; +0x28, 0x1001b8024\nCMP             W8, #1                                                 ; +0x2c, 0x1001b8028\nB.NE            loc_1001B8070                                          ; +0x30, 0x1001b802c\nLDR             X0, [X19,#0x258]                                       ; +0x34, 0x1001b8030\nBL              sub_10024A36C                                          ; +0x38, 0x1001b8034\nCBZ             W0, loc_1001B8070                                      ; +0x3c, 0x1001b8038\nMOV             W20, #0                                                ; +0x40, 0x1001b803c\nLDR             X0, [X19,#0x258]                                       ; +0x44, 0x1001b8040\nMOV             X1, X20                                                ; +0x48, 0x1001b8044\nBL              sub_10024A388                                          ; +0x4c, 0x1001b8048\nLDR             X8, [X0]                                               ; +0x50, 0x1001b804c\nLDR             X8, [X8,#0x80]                                         ; +0x54, 0x1001b8050\nFMOV            S0, S8                                                 ; +0x58, 0x1001b8054\nBLR             X8                                                     ; +0x5c, 0x1001b8058\nADD             W20, W20, #1                                           ; +0x60, 0x1001b805c\nLDR             X0, [X19,#0x258]                                       ; +0x64, 0x1001b8060\nBL              sub_10024A36C                                          ; +0x68, 0x1001b8064\nCMP             W20, W0                                                ; +0x6c, 0x1001b8068\nB.CC            loc_1001B8040                                          ; +0x70, 0x1001b806c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x1001b8070\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x1001b8074\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x7c, 0x1001b8078\nRET                                                                    ; +0x80, 0x1001b807c", "xrefs": ["GameObject::setScaleX @ 0x10025b618", "<???> @ 0x10077b800", "<???> @ 0x1007b3008", "<???> @ 0x1007ef688"], "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"}