{"type": "func", "start": 6442799520, "end": 6442799679, "name": "cocos2d::CCTransitionFlipY::create", "pseudocode": "// \n// cocos2d::CCTransitionFlipY::create from 0x1800551a0 to 0x18005523f (159 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFlipY::create @ 0x180055193\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc85c\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\ncocos2d::CCTransitionScene *__fastcall cocos2d::CCTransitionFlipY::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::CCTransitionFlipY::`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::CCTransitionFlipY::create from 0x1800551a0 to 0x18005523f (159 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFlipY::create @ 0x180055193\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc85c\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, 0x1800551a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800551a5\npush    rdi                                                            ; +0xa, 0x1800551aa\nsub     rsp, 30h                                                       ; +0xb, 0x1800551ab\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x1800551af\nmov     edi, r8d                                                       ; +0x14, 0x1800551b4\nmov     rsi, rdx                                                       ; +0x17, 0x1800551b7\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x1800551ba\nmov     ecx, 168h; Size                                                ; +0x1d, 0x1800551bd\ncall    sub_1800E4AC0                                                  ; +0x22, 0x1800551c2\nmov     rbx, rax                                                       ; +0x27, 0x1800551c7\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x1800551ca\ntest    rax, rax                                                       ; +0x2f, 0x1800551cf\njz      short loc_1800551E8                                            ; +0x32, 0x1800551d2\nmov     rcx, rax; this                                                 ; +0x34, 0x1800551d4\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x1800551d7\nlea     rax, ??_7CCTransitionFlipY@cocos2d@@6B@; const cocos2d::CCTransitionFlipY::`vftable' ; +0x3c, 0x1800551dc\nmov     [rbx], rax                                                     ; +0x43, 0x1800551e3\njmp     short loc_1800551EA                                            ; +0x46, 0x1800551e6\nxor     ebx, ebx                                                       ; +0x48, 0x1800551e8\nmov     rax, [rbx]                                                     ; +0x4a, 0x1800551ea\nmov     rdx, [rax+388h]                                                ; +0x4d, 0x1800551ed\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x1800551f4\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x1800551fb\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x1800551fe\nmov     rcx, rbx; this                                                 ; +0x61, 0x180055201\ncmp     rdx, rax                                                       ; +0x64, 0x180055204\njnz     short loc_18005521A                                            ; +0x67, 0x180055207\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x180055209\ntest    al, al                                                         ; +0x6e, 0x18005520e\njz      short loc_18005521F                                            ; +0x70, 0x180055210\nmov     [rbx+160h], edi                                                ; +0x72, 0x180055212\njmp     short loc_18005521F                                            ; +0x78, 0x180055218\nmov     r9d, edi                                                       ; +0x7a, 0x18005521a\ncall    rdx                                                            ; +0x7d, 0x18005521d\nmov     rcx, rbx; this                                                 ; +0x7f, 0x18005521f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x180055222\nmov     rax, rbx                                                       ; +0x87, 0x180055227\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x18005522a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x18005522f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x180055234\nadd     rsp, 30h                                                       ; +0x99, 0x180055239\npop     rdi                                                            ; +0x9d, 0x18005523d\nretn                                                                   ; +0x9e, 0x18005523e", "xrefs": ["cocos2d::CCTransitionFlipY::create @ 0x180055193", "<???> @ 0x18014cf68", "<???> @ 0x1801bc85c"], "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"}