{"type": "func", "start": 3134086, "end": 3134130, "name": "CCSpritePlus::addFollower", "pseudocode": "// \n// CCSpritePlus::addFollower from 0x2fd286 to 0x2fd2b2 (44 bytes)\n// \n// 7 xrefs:\n// > CCSpritePlus::followSprite @ 0x2fd2dc\n// > AnimatedGameObject::setupChildSprites @ 0x3e7a5a\n// > AnimatedGameObject::setupChildSprites @ 0x3e7bec\n// > AnimatedGameObject::setupChildSprites @ 0x3e7d2a\n// > AnimatedGameObject::setupChildSprites @ 0x3e7e0e\n// > GJRobotSprite::init @ 0x4b86a2\n// > CurrencyRewardLayer::createObjectsFull @ 0x4d1b4c\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 CCSpritePlus::addFollower(CCSpritePlus *a1, cocos2d::CCNode *a2)\n{\n  cocos2d::CCArray *v4; // r0\n\n  a1->m_hasFollower = 1;\n  if ( !a1->m_followers )\n  {\n    v4 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);\n    a1->m_followers = v4;\n    cocos2d::CCObject::retain(v4);\n  }\n  cocos2d::CCArray::addObject(a1->m_followers, a2);\n}", "assembly": "; \n; CCSpritePlus::addFollower from 0x2fd286 to 0x2fd2b2 (44 bytes)\n; \n; 7 xrefs:\n; > CCSpritePlus::followSprite @ 0x2fd2dc\n; > AnimatedGameObject::setupChildSprites @ 0x3e7a5a\n; > AnimatedGameObject::setupChildSprites @ 0x3e7bec\n; > AnimatedGameObject::setupChildSprites @ 0x3e7d2a\n; > AnimatedGameObject::setupChildSprites @ 0x3e7e0e\n; > GJRobotSprite::init @ 0x4b86a2\n; > CurrencyRewardLayer::createObjectsFull @ 0x4d1b4c\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x2fd286\nMOVS            R3, #1                                                 ; +0x2, 0x2fd288\nSTRB.W          R3, [R0,#0x204]                                        ; +0x4, 0x2fd28a\nMOV             R4, R0                                                 ; +0x8, 0x2fd28e\nLDR.W           R3, [R0,#0x1FC]                                        ; +0xa, 0x2fd290\nMOV             R5, R1                                                 ; +0xe, 0x2fd294\nCBNZ            R3, loc_2FD2A4                                         ; +0x10, 0x2fd296\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x12, 0x2fd298\nSTR.W           R0, [R4,#0x1FC]                                        ; +0x16, 0x2fd29c\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x1a, 0x2fd2a0\nLDR.W           R0, [R4,#0x1FC]; this                                  ; +0x1e, 0x2fd2a4\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x22, 0x2fd2a8\nPOP.W           {R3-R5,LR}                                             ; +0x24, 0x2fd2aa\nB.W             _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x28, 0x2fd2ae", "xrefs": ["CCSpritePlus::followSprite @ 0x2fd2dc", "AnimatedGameObject::setupChildSprites @ 0x3e7a5a", "AnimatedGameObject::setupChildSprites @ 0x3e7bec", "AnimatedGameObject::setupChildSprites @ 0x3e7d2a", "AnimatedGameObject::setupChildSprites @ 0x3e7e0e", "GJRobotSprite::init @ 0x4b86a2", "CurrencyRewardLayer::createObjectsFull @ 0x4d1b4c"], "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"}