{"type": "func", "start": 4299694544, "end": 4299694624, "name": "CCSpritePlus::stopFollow", "pseudocode": "// \n// CCSpritePlus::stopFollow from 0x1004821d0 to 0x100482220 (80 bytes)\n// \n// 1 xrefs:\n// > GameObject::playShineEffect @ 0x1005bda05\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::stopFollow(CCSpritePlus *a1)\n{\n  CCSpritePlus *m_followingSprite; // rbx\n  cocos2d::CCArray *m_followers; // rdi\n\n  m_followingSprite = a1->m_followingSprite;\n  if ( m_followingSprite )\n  {\n    m_followers = m_followingSprite->m_followers;\n    if ( m_followers )\n    {\n      sub_100720220(m_followers, a1, 1);\n      if ( !(unsigned int)sub_100720070(m_followingSprite->m_followers) )\n        m_followingSprite->m_hasFollower = 0;\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::stopFollow from 0x1004821d0 to 0x100482220 (80 bytes)\n; \n; 1 xrefs:\n; > GameObject::playShineEffect @ 0x1005bda05\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    rbp                                                            ; +0x0, 0x1004821d0\nmov     rbp, rsp                                                       ; +0x1, 0x1004821d1\npush    rbx                                                            ; +0x4, 0x1004821d4\npush    rax                                                            ; +0x5, 0x1004821d5\nmov     rbx, [rdi+260h]                                                ; +0x6, 0x1004821d6\ntest    rbx, rbx                                                       ; +0xd, 0x1004821dd\njz      short loc_10048220B                                            ; +0x10, 0x1004821e0\nmov     rsi, rdi                                                       ; +0x12, 0x1004821e2\nmov     rdi, [rbx+258h]                                                ; +0x15, 0x1004821e5\ntest    rdi, rdi                                                       ; +0x1c, 0x1004821ec\njz      short loc_10048220B                                            ; +0x1f, 0x1004821ef\nmov     edx, 1                                                         ; +0x21, 0x1004821f1\ncall    sub_100720220                                                  ; +0x26, 0x1004821f6\nmov     rdi, [rbx+258h]                                                ; +0x2b, 0x1004821fb\ncall    sub_100720070                                                  ; +0x32, 0x100482202\ntest    eax, eax                                                       ; +0x37, 0x100482207\njz      short loc_100482212                                            ; +0x39, 0x100482209\nadd     rsp, 8                                                         ; +0x3b, 0x10048220b\npop     rbx                                                            ; +0x3f, 0x10048220f\npop     rbp                                                            ; +0x40, 0x100482210\nretn                                                                   ; +0x41, 0x100482211\nmov     byte ptr [rbx+268h], 0                                         ; +0x42, 0x100482212\nadd     rsp, 8                                                         ; +0x49, 0x100482219\npop     rbx                                                            ; +0x4d, 0x10048221d\npop     rbp                                                            ; +0x4e, 0x10048221e\nretn                                                                   ; +0x4f, 0x10048221f", "xrefs": ["GameObject::playShineEffect @ 0x1005bda05"], "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"}