{"type": "func", "start": 6442600080, "end": 6442600215, "name": "cocos2d::CCFollow::create", "pseudocode": "// \n// cocos2d::CCFollow::create from 0x180024690 to 0x180024717 (135 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9208\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 11:21:29 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCFollow *__fastcall cocos2d::CCFollow::create(\n        struct cocos2d::CCNode *a1,\n        const struct cocos2d::CCRect *a2)\n{\n  cocos2d::CCFollow *v4; // rax\n  cocos2d::CCObject *v5; // rbx\n\n  v4 = (cocos2d::CCFollow *)sub_1800E4AC0(0x80u);\n  if ( v4 )\n    v5 = cocos2d::CCFollow::CCFollow(v4);\n  else\n    v5 = nullptr;\n  if ( v5 )\n  {\n    if ( cocos2d::CCFollow::initWithTarget(v5, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v5);\n      return v5;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCFollow::create from 0x180024690 to 0x180024717 (135 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9208\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 11:21:29 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180024690\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180024695\npush    rdi                                                            ; +0xa, 0x18002469a\nsub     rsp, 20h                                                       ; +0xb, 0x18002469b\nmov     rdi, rdx                                                       ; +0xf, 0x18002469f\nmov     rsi, rcx                                                       ; +0x12, 0x1800246a2\nmov     ecx, 80h; Size                                                 ; +0x15, 0x1800246a5\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x1800246aa\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x1800246af\ntest    rax, rax                                                       ; +0x24, 0x1800246b4\njz      short loc_1800246C6                                            ; +0x27, 0x1800246b7\nmov     rcx, rax; this                                                 ; +0x29, 0x1800246b9\ncall    ??0CCFollow@cocos2d@@QEAA@XZ; cocos2d::CCFollow::CCFollow(void) ; +0x2c, 0x1800246bc\nmov     rbx, rax                                                       ; +0x31, 0x1800246c1\njmp     short loc_1800246C8                                            ; +0x34, 0x1800246c4\nxor     ebx, ebx                                                       ; +0x36, 0x1800246c6\ntest    rbx, rbx                                                       ; +0x38, 0x1800246c8\njz      short loc_180024705                                            ; +0x3b, 0x1800246cb\nmov     r8, rdi; struct cocos2d::CCRect *                              ; +0x3d, 0x1800246cd\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x40, 0x1800246d0\nmov     rcx, rbx; this                                                 ; +0x43, 0x1800246d3\ncall    ?initWithTarget@CCFollow@cocos2d@@QEAA_NPEAVCCNode@2@AEBVCCRect@2@@Z; cocos2d::CCFollow::initWithTarget(cocos2d::CCNode *,cocos2d::CCRect const &) ; +0x46, 0x1800246d6\nmov     rcx, rbx; this                                                 ; +0x4b, 0x1800246db\ntest    al, al                                                         ; +0x4e, 0x1800246de\njz      short loc_1800246FA                                            ; +0x50, 0x1800246e0\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x52, 0x1800246e2\nmov     rax, rbx                                                       ; +0x57, 0x1800246e7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5a, 0x1800246ea\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5f, 0x1800246ef\nadd     rsp, 20h                                                       ; +0x64, 0x1800246f4\npop     rdi                                                            ; +0x68, 0x1800246f8\nretn                                                                   ; +0x69, 0x1800246f9\nmov     rax, [rbx]                                                     ; +0x6a, 0x1800246fa\nmov     edx, 1                                                         ; +0x6d, 0x1800246fd\ncall    qword ptr [rax+8]                                              ; +0x72, 0x180024702\nxor     eax, eax                                                       ; +0x75, 0x180024705\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x77, 0x180024707\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x7c, 0x18002470c\nadd     rsp, 20h                                                       ; +0x81, 0x180024711\npop     rdi                                                            ; +0x85, 0x180024715\nretn                                                                   ; +0x86, 0x180024716", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b9208"], "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"}