{"type": "func", "start": 6442800800, "end": 6442801010, "name": "cocos2d::CCTransitionRotoZoom::create", "pseudocode": "// \n// cocos2d::CCTransitionRotoZoom::create from 0x1800556a0 to 0x180055772 (210 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc898\n// > <???> @ 0x1801bc8a4\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:47 +0000\n// \n\nstruct cocos2d::CCTransitionRotoZoom *__fastcall cocos2d::CCTransitionRotoZoom::create(\n        float a1,\n        struct cocos2d::CCScene *a2)\n{\n  cocos2d::CCScene *v3; // rax\n  cocos2d::CCTransitionScene *v4; // rbx\n  bool (__fastcall *v5)(cocos2d::CCTransitionScene *__hidden, float, struct cocos2d::CCScene *); // rdx\n  char v6; // al\n  cocos2d::CCScene *(__fastcall *v8)(cocos2d::CCObject **, char); // r8\n\n  v3 = (cocos2d::CCScene *)sub_1800E4AC0(0x160u);\n  v4 = v3;\n  if ( v3 )\n  {\n    cocos2d::CCScene::CCScene(v3);\n    *(_QWORD *)v4 = &cocos2d::CCTransitionRotoZoom::`vftable';\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( v4 )\n  {\n    v5 = *(bool (__fastcall **)(cocos2d::CCTransitionScene *__hidden, float, struct cocos2d::CCScene *))(*(_QWORD *)v4 + 888LL);\n    if ( v5 == cocos2d::CCTransitionScene::initWithDuration )\n      v6 = cocos2d::CCTransitionScene::initWithDuration(v4, a1, a2);\n    else\n      v6 = ((__int64 (__fastcall *)(cocos2d::CCTransitionScene *, bool (__fastcall *)(cocos2d::CCTransitionScene *__hidden, float, struct cocos2d::CCScene *), struct cocos2d::CCScene *))v5)(\n             v4,\n             v5,\n             a2);\n    if ( v6 )\n    {\n      cocos2d::CCObject::autorelease(v4);\n      return v4;\n    }\n    v8 = *(cocos2d::CCScene *(__fastcall **)(cocos2d::CCObject **, char))(*(_QWORD *)v4 + 8LL);\n    if ( v8 == sub_180054190 )\n    {\n      sub_180054190((cocos2d::CCObject **)v4, 1);\n      return nullptr;\n    }\n    v8((cocos2d::CCObject **)v4, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCTransitionRotoZoom::create from 0x1800556a0 to 0x180055772 (210 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc898\n; > <???> @ 0x1801bc8a4\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:47 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800556a0\npush    rdi                                                            ; +0x5, 0x1800556a5\nsub     rsp, 30h                                                       ; +0x6, 0x1800556a6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x1800556aa\nmov     rdi, rdx                                                       ; +0xf, 0x1800556af\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x1800556b2\nmov     ecx, 160h; Size                                                ; +0x15, 0x1800556b5\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x1800556ba\nmov     rbx, rax                                                       ; +0x1f, 0x1800556bf\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x1800556c2\ntest    rax, rax                                                       ; +0x27, 0x1800556c7\njz      short loc_1800556E0                                            ; +0x2a, 0x1800556ca\nmov     rcx, rax; this                                                 ; +0x2c, 0x1800556cc\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x2f, 0x1800556cf\nlea     rax, ??_7CCTransitionRotoZoom@cocos2d@@6B@; const cocos2d::CCTransitionRotoZoom::`vftable' ; +0x34, 0x1800556d4\nmov     [rbx], rax                                                     ; +0x3b, 0x1800556db\njmp     short loc_1800556E2                                            ; +0x3e, 0x1800556de\nxor     ebx, ebx                                                       ; +0x40, 0x1800556e0\ntest    rbx, rbx                                                       ; +0x42, 0x1800556e2\njz      short loc_180055760                                            ; +0x45, 0x1800556e5\nmov     rax, [rbx]                                                     ; +0x47, 0x1800556e7\nmov     rdx, [rax+378h]                                                ; +0x4a, 0x1800556ea\nlea     rax, ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x51, 0x1800556f1\nmov     r8, rdi; struct cocos2d::CCScene *                             ; +0x58, 0x1800556f8\nmovaps  xmm1, xmm6; float                                              ; +0x5b, 0x1800556fb\nmov     rcx, rbx; this                                                 ; +0x5e, 0x1800556fe\ncmp     rdx, rax                                                       ; +0x61, 0x180055701\njnz     short loc_18005570D                                            ; +0x64, 0x180055704\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x66, 0x180055706\njmp     short loc_18005570F                                            ; +0x6b, 0x18005570b\ncall    rdx                                                            ; +0x6d, 0x18005570d\nmov     rcx, rbx; this                                                 ; +0x6f, 0x18005570f\ntest    al, al                                                         ; +0x72, 0x180055712\njz      short loc_18005572E                                            ; +0x74, 0x180055714\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x76, 0x180055716\nmov     rax, rbx                                                       ; +0x7b, 0x18005571b\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7e, 0x18005571e\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x83, 0x180055723\nadd     rsp, 30h                                                       ; +0x88, 0x180055728\npop     rdi                                                            ; +0x8c, 0x18005572c\nretn                                                                   ; +0x8d, 0x18005572d\nmov     rax, [rbx]                                                     ; +0x8e, 0x18005572e\nmov     r8, [rax+8]                                                    ; +0x91, 0x180055731\nlea     rax, sub_180054190                                             ; +0x95, 0x180055735\nmov     edx, 1                                                         ; +0x9c, 0x18005573c\ncmp     r8, rax                                                        ; +0xa1, 0x180055741\njnz     short loc_18005575D                                            ; +0xa4, 0x180055744\ncall    sub_180054190                                                  ; +0xa6, 0x180055746\nxor     eax, eax                                                       ; +0xab, 0x18005574b\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xad, 0x18005574d\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb2, 0x180055752\nadd     rsp, 30h                                                       ; +0xb7, 0x180055757\npop     rdi                                                            ; +0xbb, 0x18005575b\nretn                                                                   ; +0xbc, 0x18005575c\ncall    r8                                                             ; +0xbd, 0x18005575d\nxor     eax, eax                                                       ; +0xc0, 0x180055760\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc2, 0x180055762\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc7, 0x180055767\nadd     rsp, 30h                                                       ; +0xcc, 0x18005576c\npop     rdi                                                            ; +0xd0, 0x180055770\nretn                                                                   ; +0xd1, 0x180055771", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bc898", "<???> @ 0x1801bc8a4"], "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"}