{"type": "func", "start": 4299694464, "end": 4299694542, "name": "CCSpritePlus::followSprite", "pseudocode": "// \n// CCSpritePlus::followSprite from 0x100482180 to 0x1004821ce (78 bytes)\n// \n// 1 xrefs:\n// > GameObject::playShineEffect @ 0x1005bd9c6\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::followSprite(CCSpritePlus *a1)\n{\n  CCSpritePlus *v1; // rsi\n  cocos2d::CCArray *m_followers; // rdi\n  cocos2d::CCObject *v4; // rax\n\n  a1->m_followingSprite = v1;\n  v1->m_hasFollower = 1;\n  m_followers = v1->m_followers;\n  if ( !m_followers )\n  {\n    v4 = (cocos2d::CCObject *)sub_10071F9E0(0, v1);\n    v1->m_followers = (cocos2d::CCArray *)v4;\n    cocos2d::CCObject::retain(v4);\n    m_followers = v1->m_followers;\n  }\n  sub_10071FCD0(m_followers, a1);\n}", "assembly": "; \n; CCSpritePlus::followSprite from 0x100482180 to 0x1004821ce (78 bytes)\n; \n; 1 xrefs:\n; > GameObject::playShineEffect @ 0x1005bd9c6\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, 0x100482180\nmov     rbp, rsp                                                       ; +0x1, 0x100482181\npush    r14                                                            ; +0x4, 0x100482184\npush    rbx                                                            ; +0x6, 0x100482186\nmov     rbx, rdi                                                       ; +0x7, 0x100482187\nmov     [rdi+260h], rsi                                                ; +0xa, 0x10048218a\nmov     byte ptr [rsi+268h], 1                                         ; +0x11, 0x100482191\nmov     rdi, [rsi+258h]                                                ; +0x18, 0x100482198\ntest    rdi, rdi                                                       ; +0x1f, 0x10048219f\njnz     short loc_1004821C2                                            ; +0x22, 0x1004821a2\nmov     r14, rsi                                                       ; +0x24, 0x1004821a4\ncall    sub_10071F9E0                                                  ; +0x27, 0x1004821a7\nmov     [r14+258h], rax                                                ; +0x2c, 0x1004821ac\nmov     rdi, rax                                                       ; +0x33, 0x1004821b3\ncall    cocos2d__CCObject__retain                                      ; +0x36, 0x1004821b6\nmov     rdi, [r14+258h]                                                ; +0x3b, 0x1004821bb\nmov     rsi, rbx                                                       ; +0x42, 0x1004821c2\npop     rbx                                                            ; +0x45, 0x1004821c5\npop     r14                                                            ; +0x46, 0x1004821c6\npop     rbp                                                            ; +0x48, 0x1004821c8\njmp     sub_10071FCD0                                                  ; +0x49, 0x1004821c9", "xrefs": ["GameObject::playShineEffect @ 0x1005bd9c6"], "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"}