{"type": "func", "start": 6442801248, "end": 6442801407, "name": "cocos2d::CCTransitionSceneOriented::create", "pseudocode": "// \n// cocos2d::CCTransitionSceneOriented::create from 0x180055860 to 0x1800558ff (159 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc8bc\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\ncocos2d::CCTransitionScene *__fastcall cocos2d::CCTransitionSceneOriented::create(\n        float a1,\n        struct cocos2d::CCScene *a2,\n        unsigned int a3)\n{\n  cocos2d::CCScene *v5; // rax\n  cocos2d::CCTransitionScene *v6; // rbx\n  void (__fastcall *v7)(_QWORD, _QWORD, _QWORD, _QWORD); // rdx\n\n  v5 = (cocos2d::CCScene *)sub_1800E4AC0(0x168u);\n  v6 = v5;\n  if ( v5 )\n  {\n    cocos2d::CCScene::CCScene(v5);\n    *(_QWORD *)v6 = &cocos2d::CCTransitionSceneOriented::`vftable';\n  }\n  else\n  {\n    v6 = nullptr;\n  }\n  v7 = *(void (__fastcall **)(_QWORD, _QWORD, _QWORD, _QWORD))(*(_QWORD *)v6 + 904LL);\n  if ( (char *)v7 == (char *)&cocos2d::CCTransitionSceneOriented::initWithDuration )\n  {\n    if ( cocos2d::CCTransitionScene::initWithDuration(v6, a1, a2) )\n      *((_DWORD *)v6 + 88) = a3;\n  }\n  else\n  {\n    v7(v6, v7, a2, a3);\n  }\n  cocos2d::CCObject::autorelease(v6);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCTransitionSceneOriented::create from 0x180055860 to 0x1800558ff (159 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc8bc\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, 0x180055860\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180055865\npush    rdi                                                            ; +0xa, 0x18005586a\nsub     rsp, 30h                                                       ; +0xb, 0x18005586b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18005586f\nmov     edi, r8d                                                       ; +0x14, 0x180055874\nmov     rsi, rdx                                                       ; +0x17, 0x180055877\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x18005587a\nmov     ecx, 168h; Size                                                ; +0x1d, 0x18005587d\ncall    sub_1800E4AC0                                                  ; +0x22, 0x180055882\nmov     rbx, rax                                                       ; +0x27, 0x180055887\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x18005588a\ntest    rax, rax                                                       ; +0x2f, 0x18005588f\njz      short loc_1800558A8                                            ; +0x32, 0x180055892\nmov     rcx, rax; this                                                 ; +0x34, 0x180055894\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x180055897\nlea     rax, ??_7CCTransitionSceneOriented@cocos2d@@6B@; const cocos2d::CCTransitionSceneOriented::`vftable' ; +0x3c, 0x18005589c\nmov     [rbx], rax                                                     ; +0x43, 0x1800558a3\njmp     short loc_1800558AA                                            ; +0x46, 0x1800558a6\nxor     ebx, ebx                                                       ; +0x48, 0x1800558a8\nmov     rax, [rbx]                                                     ; +0x4a, 0x1800558aa\nmov     rdx, [rax+388h]                                                ; +0x4d, 0x1800558ad\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x1800558b4\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x1800558bb\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x1800558be\nmov     rcx, rbx; this                                                 ; +0x61, 0x1800558c1\ncmp     rdx, rax                                                       ; +0x64, 0x1800558c4\njnz     short loc_1800558DA                                            ; +0x67, 0x1800558c7\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x1800558c9\ntest    al, al                                                         ; +0x6e, 0x1800558ce\njz      short loc_1800558DF                                            ; +0x70, 0x1800558d0\nmov     [rbx+160h], edi                                                ; +0x72, 0x1800558d2\njmp     short loc_1800558DF                                            ; +0x78, 0x1800558d8\nmov     r9d, edi                                                       ; +0x7a, 0x1800558da\ncall    rdx                                                            ; +0x7d, 0x1800558dd\nmov     rcx, rbx; this                                                 ; +0x7f, 0x1800558df\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x1800558e2\nmov     rax, rbx                                                       ; +0x87, 0x1800558e7\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x1800558ea\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x1800558ef\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x1800558f4\nadd     rsp, 30h                                                       ; +0x99, 0x1800558f9\npop     rdi                                                            ; +0x9d, 0x1800558fd\nretn                                                                   ; +0x9e, 0x1800558fe", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bc8bc"], "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"}