{"type": "func", "start": 4296769928, "end": 4296769996, "name": "CCSpritePlus::addFollower", "pseudocode": "// \n// CCSpritePlus::addFollower from 0x1001b8188 to 0x1001b81cc (68 bytes)\n// \n// 7 xrefs:\n// > CCSpritePlus::followSprite @ 0x1001b8218\n// > GJRobotSprite::init @ 0x10023f6e0\n// > CurrencyRewardLayer::createObjectsFull @ 0x100320914\n// > AnimatedGameObject::setupChildSprites @ 0x100383608\n// > AnimatedGameObject::setupChildSprites @ 0x1003837bc\n// > AnimatedGameObject::setupChildSprites @ 0x100383970\n// > AnimatedGameObject::setupChildSprites @ 0x100383abc\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::addFollower(CCSpritePlus *a1, cocos2d::CCNode *a2)\n{\n  cocos2d::CCArray *m_followers; // x0\n  cocos2d::CCArray *v5; // x0\n\n  a1->m_hasFollower = 1;\n  m_followers = a1->m_followers;\n  if ( !m_followers )\n  {\n    v5 = (cocos2d::CCArray *)sub_10024A15C(0);\n    a1->m_followers = v5;\n    cocos2d::CCObject::retain(v5);\n    m_followers = a1->m_followers;\n  }\n  sub_10024A2D0(m_followers, a2);\n}", "assembly": "; \n; CCSpritePlus::addFollower from 0x1001b8188 to 0x1001b81cc (68 bytes)\n; \n; 7 xrefs:\n; > CCSpritePlus::followSprite @ 0x1001b8218\n; > GJRobotSprite::init @ 0x10023f6e0\n; > CurrencyRewardLayer::createObjectsFull @ 0x100320914\n; > AnimatedGameObject::setupChildSprites @ 0x100383608\n; > AnimatedGameObject::setupChildSprites @ 0x1003837bc\n; > AnimatedGameObject::setupChildSprites @ 0x100383970\n; > AnimatedGameObject::setupChildSprites @ 0x100383abc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001b8188\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001b818c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001b8190\nMOV             X19, X1                                                ; +0xc, 0x1001b8194\nMOV             X20, X0                                                ; +0x10, 0x1001b8198\nMOV             W8, #1                                                 ; +0x14, 0x1001b819c\nSTRB            W8, [X0,#0x268]                                        ; +0x18, 0x1001b81a0\nLDR             X0, [X0,#0x258]                                        ; +0x1c, 0x1001b81a4\nCBNZ            X0, loc_1001B81BC                                      ; +0x20, 0x1001b81a8\nBL              sub_10024A15C                                          ; +0x24, 0x1001b81ac\nSTR             X0, [X20,#0x258]                                       ; +0x28, 0x1001b81b0\nBL              cocos2d__CCObject__retain                              ; +0x2c, 0x1001b81b4\nLDR             X0, [X20,#0x258]                                       ; +0x30, 0x1001b81b8\nMOV             X1, X19                                                ; +0x34, 0x1001b81bc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1001b81c0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1001b81c4\nB               sub_10024A2D0                                          ; +0x40, 0x1001b81c8", "xrefs": ["CCSpritePlus::followSprite @ 0x1001b8218", "GJRobotSprite::init @ 0x10023f6e0", "CurrencyRewardLayer::createObjectsFull @ 0x100320914", "AnimatedGameObject::setupChildSprites @ 0x100383608", "AnimatedGameObject::setupChildSprites @ 0x1003837bc", "AnimatedGameObject::setupChildSprites @ 0x100383970", "AnimatedGameObject::setupChildSprites @ 0x100383abc"], "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"}