{"type": "func", "start": 5932692, "end": 5932756, "name": "CCSpritePlus::removeFollower", "pseudocode": "// \n// CCSpritePlus::removeFollower from 0x5a8694 to 0x5a86d4 (64 bytes)\n// \n// 2 xrefs:\n// > CCSpritePlus::stopFollow @ 0x5a86f8\n// > <???> @ 0x9ded8\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::removeFollower(CCSpritePlus *a1, cocos2d::CCNode *a2)\n{\n  if ( a1->m_followers )\n  {\n    cocos2d::CCArray::removeObject(a1->m_followers, a2, 1);\n    if ( !(unsigned int)cocos2d::CCArray::count(a1->m_followers) )\n      a1->m_hasFollower = 0;\n  }\n}", "assembly": "; \n; CCSpritePlus::removeFollower from 0x5a8694 to 0x5a86d4 (64 bytes)\n; \n; 2 xrefs:\n; > CCSpritePlus::stopFollow @ 0x5a86f8\n; > <???> @ 0x9ded8\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x5a8694\nMOV             X29, SP                                                ; +0x4, 0x5a8698\nLDR             X2, [X0,#0x258]                                        ; +0x8, 0x5a869c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x5a86a0\nCBZ             X2, loc_5A86C8                                         ; +0x10, 0x5a86a4\nMOV             X19, X0                                                ; +0x14, 0x5a86a8\nMOV             X0, X2; this                                           ; +0x18, 0x5a86ac\nMOV             W2, #1; bool                                           ; +0x1c, 0x5a86b0\nBL              _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x20, 0x5a86b4\nLDR             X0, [X19,#0x258]; this                                 ; +0x24, 0x5a86b8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x5a86bc\nCBNZ            W0, loc_5A86C8                                         ; +0x2c, 0x5a86c0\nSTRB            WZR, [X19,#0x268]                                      ; +0x30, 0x5a86c4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0x5a86c8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0x5a86cc\nRET                                                                    ; +0x3c, 0x5a86d0", "xrefs": ["CCSpritePlus::stopFollow @ 0x5a86f8", "<???> @ 0x9ded8"], "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"}