{"type": "func", "start": 6442799680, "end": 6442799890, "name": "cocos2d::CCTransitionJumpZoom::create", "pseudocode": "// \n// cocos2d::CCTransitionJumpZoom::create from 0x180055240 to 0x180055312 (210 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc868\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:46 +0000\n// \n\nstruct cocos2d::CCTransitionJumpZoom *__fastcall cocos2d::CCTransitionJumpZoom::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::CCTransitionJumpZoom::`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::CCTransitionJumpZoom::create from 0x180055240 to 0x180055312 (210 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc868\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:46 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180055240\npush    rdi                                                            ; +0x5, 0x180055245\nsub     rsp, 30h                                                       ; +0x6, 0x180055246\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18005524a\nmov     rdi, rdx                                                       ; +0xf, 0x18005524f\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x180055252\nmov     ecx, 160h; Size                                                ; +0x15, 0x180055255\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18005525a\nmov     rbx, rax                                                       ; +0x1f, 0x18005525f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180055262\ntest    rax, rax                                                       ; +0x27, 0x180055267\njz      short loc_180055280                                            ; +0x2a, 0x18005526a\nmov     rcx, rax; this                                                 ; +0x2c, 0x18005526c\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x2f, 0x18005526f\nlea     rax, ??_7CCTransitionJumpZoom@cocos2d@@6B@; const cocos2d::CCTransitionJumpZoom::`vftable' ; +0x34, 0x180055274\nmov     [rbx], rax                                                     ; +0x3b, 0x18005527b\njmp     short loc_180055282                                            ; +0x3e, 0x18005527e\nxor     ebx, ebx                                                       ; +0x40, 0x180055280\ntest    rbx, rbx                                                       ; +0x42, 0x180055282\njz      short loc_180055300                                            ; +0x45, 0x180055285\nmov     rax, [rbx]                                                     ; +0x47, 0x180055287\nmov     rdx, [rax+378h]                                                ; +0x4a, 0x18005528a\nlea     rax, ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x51, 0x180055291\nmov     r8, rdi; struct cocos2d::CCScene *                             ; +0x58, 0x180055298\nmovaps  xmm1, xmm6; float                                              ; +0x5b, 0x18005529b\nmov     rcx, rbx; this                                                 ; +0x5e, 0x18005529e\ncmp     rdx, rax                                                       ; +0x61, 0x1800552a1\njnz     short loc_1800552AD                                            ; +0x64, 0x1800552a4\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x66, 0x1800552a6\njmp     short loc_1800552AF                                            ; +0x6b, 0x1800552ab\ncall    rdx                                                            ; +0x6d, 0x1800552ad\nmov     rcx, rbx; this                                                 ; +0x6f, 0x1800552af\ntest    al, al                                                         ; +0x72, 0x1800552b2\njz      short loc_1800552CE                                            ; +0x74, 0x1800552b4\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x76, 0x1800552b6\nmov     rax, rbx                                                       ; +0x7b, 0x1800552bb\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7e, 0x1800552be\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x83, 0x1800552c3\nadd     rsp, 30h                                                       ; +0x88, 0x1800552c8\npop     rdi                                                            ; +0x8c, 0x1800552cc\nretn                                                                   ; +0x8d, 0x1800552cd\nmov     rax, [rbx]                                                     ; +0x8e, 0x1800552ce\nmov     r8, [rax+8]                                                    ; +0x91, 0x1800552d1\nlea     rax, sub_180054190                                             ; +0x95, 0x1800552d5\nmov     edx, 1                                                         ; +0x9c, 0x1800552dc\ncmp     r8, rax                                                        ; +0xa1, 0x1800552e1\njnz     short loc_1800552FD                                            ; +0xa4, 0x1800552e4\ncall    sub_180054190                                                  ; +0xa6, 0x1800552e6\nxor     eax, eax                                                       ; +0xab, 0x1800552eb\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xad, 0x1800552ed\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb2, 0x1800552f2\nadd     rsp, 30h                                                       ; +0xb7, 0x1800552f7\npop     rdi                                                            ; +0xbb, 0x1800552fb\nretn                                                                   ; +0xbc, 0x1800552fc\ncall    r8                                                             ; +0xbd, 0x1800552fd\nxor     eax, eax                                                       ; +0xc0, 0x180055300\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc2, 0x180055302\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc7, 0x180055307\nadd     rsp, 30h                                                       ; +0xcc, 0x18005530c\npop     rdi                                                            ; +0xd0, 0x180055310\nretn                                                                   ; +0xd1, 0x180055311", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bc868"], "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"}