{"type": "func", "start": 5369005024, "end": 5369005098, "name": "CCSpritePlus::removeFollower", "pseudocode": "// \n// CCSpritePlus::removeFollower from 0x1400483e0 to 0x14004842a (74 bytes)\n// \n// 2 xrefs:\n// > GameObject::playShineEffect @ 0x14019a773\n// > <???> @ 0x1406c4b54\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  CCSpritePlus *m_followingSprite; // rbx\n\n  m_followingSprite = a1->m_followingSprite;\n  if ( m_followingSprite && m_followingSprite->m_followers )\n  {\n    cocos2d::CCArray::removeObject(m_followingSprite->m_followers, a1, 1);\n    if ( !cocos2d::CCArray::count(m_followingSprite->m_followers) )\n      m_followingSprite->m_hasFollower = 0;\n  }\n}", "assembly": "; \n; CCSpritePlus::removeFollower from 0x1400483e0 to 0x14004842a (74 bytes)\n; \n; 2 xrefs:\n; > GameObject::playShineEffect @ 0x14019a773\n; > <???> @ 0x1406c4b54\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    rbx                                                            ; +0x0, 0x1400483e0\nsub     rsp, 20h                                                       ; +0x2, 0x1400483e2\nmov     rbx, [rcx+260h]                                                ; +0x6, 0x1400483e6\ntest    rbx, rbx                                                       ; +0xd, 0x1400483ed\njz      short loc_140048424                                            ; +0x10, 0x1400483f0\nmov     rax, [rbx+258h]                                                ; +0x12, 0x1400483f2\ntest    rax, rax                                                       ; +0x19, 0x1400483f9\njz      short loc_140048424                                            ; +0x1c, 0x1400483fc\nmov     rdx, rcx                                                       ; +0x1e, 0x1400483fe\nmov     r8b, 1                                                         ; +0x21, 0x140048401\nmov     rcx, rax                                                       ; +0x24, 0x140048404\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x27, 0x140048407\nmov     rcx, [rbx+258h]                                                ; +0x2d, 0x14004840d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x34, 0x140048414\ntest    eax, eax                                                       ; +0x3a, 0x14004841a\njnz     short loc_140048424                                            ; +0x3c, 0x14004841c\nmov     [rbx+268h], al                                                 ; +0x3e, 0x14004841e\nadd     rsp, 20h                                                       ; +0x44, 0x140048424\npop     rbx                                                            ; +0x48, 0x140048428\nretn                                                                   ; +0x49, 0x140048429", "xrefs": ["GameObject::playShineEffect @ 0x14019a773", "<???> @ 0x1406c4b54"], "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"}