{"type": "func", "start": 4299647552, "end": 4299647632, "name": "CCSpritePlus::addFollower", "pseudocode": "// \n// CCSpritePlus::addFollower from 0x100476a40 to 0x100476a90 (80 bytes)\n// \n// 8 xrefs:\n// > AnimatedGameObject::setupChildSprites @ 0x100196eea\n// > AnimatedGameObject::setupChildSprites @ 0x1001970ad\n// > AnimatedGameObject::setupChildSprites @ 0x10019724a\n// > AnimatedGameObject::setupChildSprites @ 0x10019731c\n// > AnimatedGameObject::setupChildSprites @ 0x1001973e7\n// > AnimatedGameObject::setupChildSprites @ 0x1001975ca\n// > GJRobotSprite::init @ 0x1006adaf4\n// > CurrencyRewardLayer::createObjectsFull @ 0x10088b625\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:35 +0000\n// \n\n__int64 __fastcall CCSpritePlus::addFollower(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rdi\n  __int64 v5; // rax\n\n  *(_BYTE *)(a1 + 616) = 1;\n  v3 = *(_QWORD *)(a1 + 600);\n  if ( !v3 )\n  {\n    v5 = sub_1007FE900(0);\n    *(_QWORD *)(a1 + 600) = v5;\n    cocos2d::CCObject::retain(v5);\n    v3 = *(_QWORD *)(a1 + 600);\n  }\n  return sub_1007FEBF0(v3, a2);\n}", "assembly": "; \n; CCSpritePlus::addFollower from 0x100476a40 to 0x100476a90 (80 bytes)\n; \n; 8 xrefs:\n; > AnimatedGameObject::setupChildSprites @ 0x100196eea\n; > AnimatedGameObject::setupChildSprites @ 0x1001970ad\n; > AnimatedGameObject::setupChildSprites @ 0x10019724a\n; > AnimatedGameObject::setupChildSprites @ 0x10019731c\n; > AnimatedGameObject::setupChildSprites @ 0x1001973e7\n; > AnimatedGameObject::setupChildSprites @ 0x1001975ca\n; > GJRobotSprite::init @ 0x1006adaf4\n; > CurrencyRewardLayer::createObjectsFull @ 0x10088b625\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100476a40\nmov     rbp, rsp                                                       ; +0x1, 0x100476a41\npush    r14                                                            ; +0x4, 0x100476a44\npush    rbx                                                            ; +0x6, 0x100476a46\nmov     rbx, rdi                                                       ; +0x7, 0x100476a47\nmov     byte ptr [rdi+268h], 1                                         ; +0xa, 0x100476a4a\nmov     rdi, [rdi+258h]                                                ; +0x11, 0x100476a51\ntest    rdi, rdi                                                       ; +0x18, 0x100476a58\njz      short loc_100476A66                                            ; +0x1b, 0x100476a5b\npop     rbx                                                            ; +0x1d, 0x100476a5d\npop     r14                                                            ; +0x1e, 0x100476a5e\npop     rbp                                                            ; +0x20, 0x100476a60\njmp     sub_1007FEBF0                                                  ; +0x21, 0x100476a61\nmov     r14, rsi                                                       ; +0x26, 0x100476a66\ncall    sub_1007FE900                                                  ; +0x29, 0x100476a69\nmov     [rbx+258h], rax                                                ; +0x2e, 0x100476a6e\nmov     rdi, rax                                                       ; +0x35, 0x100476a75\ncall    cocos2d__CCObject__retain                                      ; +0x38, 0x100476a78\nmov     rsi, r14                                                       ; +0x3d, 0x100476a7d\nmov     rdi, [rbx+258h]                                                ; +0x40, 0x100476a80\npop     rbx                                                            ; +0x47, 0x100476a87\npop     r14                                                            ; +0x48, 0x100476a88\npop     rbp                                                            ; +0x4a, 0x100476a8a\njmp     sub_1007FEBF0                                                  ; +0x4b, 0x100476a8b", "xrefs": ["AnimatedGameObject::setupChildSprites @ 0x100196eea", "AnimatedGameObject::setupChildSprites @ 0x1001970ad", "AnimatedGameObject::setupChildSprites @ 0x10019724a", "AnimatedGameObject::setupChildSprites @ 0x10019731c", "AnimatedGameObject::setupChildSprites @ 0x1001973e7", "AnimatedGameObject::setupChildSprites @ 0x1001975ca", "GJRobotSprite::init @ 0x1006adaf4", "CurrencyRewardLayer::createObjectsFull @ 0x10088b625"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}