{"type": "func", "start": 6442665312, "end": 6442665437, "name": "cocos2d::CCRepeatForever::create", "pseudocode": "// \n// cocos2d::CCRepeatForever::create from 0x180034560 to 0x1800345dd (125 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCRepeatForever::reverse @ 0x1800363b5\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba6f0\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:34 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCRepeatForever *__fastcall cocos2d::CCRepeatForever::create(struct cocos2d::CCActionInterval *this)\n{\n  cocos2d::CCAction *v2; // rax\n  cocos2d::CCAction *v3; // rbx\n\n  v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x68u);\n  v3 = v2;\n  if ( v2 )\n  {\n    cocos2d::CCAction::CCAction(v2);\n    *((_DWORD *)v3 + 20) = 0;\n    *(_QWORD *)v3 = &cocos2d::CCRepeatForever::`vftable';\n    *((_QWORD *)v3 + 12) = 0;\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return nullptr;\n  cocos2d::CCObject::retain(this);\n  *((_QWORD *)v3 + 12) = this;\n  cocos2d::CCObject::autorelease(v3);\n  return v3;\n}", "assembly": "; \n; cocos2d::CCRepeatForever::create from 0x180034560 to 0x1800345dd (125 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCRepeatForever::reverse @ 0x1800363b5\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba6f0\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:34 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180034560\npush    rdi                                                            ; +0x5, 0x180034565\nsub     rsp, 20h                                                       ; +0x6, 0x180034566\nmov     rdi, rcx                                                       ; +0xa, 0x18003456a\nmov     ecx, 68h ; 'h'; Size                                           ; +0xd, 0x18003456d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x180034572\nmov     rbx, rax                                                       ; +0x17, 0x180034577\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x18003457a\ntest    rax, rax                                                       ; +0x1f, 0x18003457f\njz      short loc_1800345A7                                            ; +0x22, 0x180034582\nmov     rcx, rax; this                                                 ; +0x24, 0x180034584\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x27, 0x180034587\nmov     dword ptr [rbx+50h], 0                                         ; +0x2c, 0x18003458c\nlea     rax, ??_7CCRepeatForever@cocos2d@@6B@; const cocos2d::CCRepeatForever::`vftable' ; +0x33, 0x180034593\nmov     [rbx], rax                                                     ; +0x3a, 0x18003459a\nmov     qword ptr [rbx+60h], 0                                         ; +0x3d, 0x18003459d\njmp     short loc_1800345A9                                            ; +0x45, 0x1800345a5\nxor     ebx, ebx                                                       ; +0x47, 0x1800345a7\ntest    rbx, rbx                                                       ; +0x49, 0x1800345a9\njz      short loc_1800345D0                                            ; +0x4c, 0x1800345ac\nmov     rcx, rdi; this                                                 ; +0x4e, 0x1800345ae\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x51, 0x1800345b1\nmov     [rbx+60h], rdi                                                 ; +0x56, 0x1800345b6\nmov     rcx, rbx; this                                                 ; +0x5a, 0x1800345ba\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5d, 0x1800345bd\nmov     rax, rbx                                                       ; +0x62, 0x1800345c2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x65, 0x1800345c5\nadd     rsp, 20h                                                       ; +0x6a, 0x1800345ca\npop     rdi                                                            ; +0x6e, 0x1800345ce\nretn                                                                   ; +0x6f, 0x1800345cf\nxor     eax, eax                                                       ; +0x70, 0x1800345d0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x72, 0x1800345d2\nadd     rsp, 20h                                                       ; +0x77, 0x1800345d7\npop     rdi                                                            ; +0x7b, 0x1800345db\nretn                                                                   ; +0x7c, 0x1800345dc", "xrefs": ["cocos2d::CCRepeatForever::reverse @ 0x1800363b5", "<???> @ 0x18014cf68", "<???> @ 0x1801ba6f0"], "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"}