{"type": "func", "start": 6442791568, "end": 6442791727, "name": "cocos2d::CCTransitionFlipAngular::create", "pseudocode": "// \n// cocos2d::CCTransitionFlipAngular::create from 0x180053290 to 0x18005332f (159 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFlipAngular::create @ 0x180053286\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b25b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCTransitionFlipAngular *__fastcall cocos2d::CCTransitionFlipAngular::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  cocos2d::CCObject *(__stdcall *copyWithZone)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // rdx\n\n  v5 = (cocos2d::CCScene *)operator new(0x168u);\n  v6 = (cocos2d::CCTransitionScene *)v5;\n  if ( v5 )\n  {\n    cocos2d::CCScene::CCScene(v5);\n    v6->__vftable = (cocos2d::CCTransitionScene_vtbl *)&cocos2d::CCTransitionFlipAngular::`vftable';\n  }\n  else\n  {\n    v6 = nullptr;\n  }\n  copyWithZone = v6->__vftable[1].copyWithZone;\n  if ( (char *)copyWithZone == (char *)cocos2d::CCTransitionSceneOriented::initWithDuration )\n  {\n    if ( cocos2d::CCTransitionScene::initWithDuration(v6, a1, a2) )\n      v6[1].m_uAutoReleaseCount = a3;\n  }\n  else\n  {\n    ((void (__fastcall *)(cocos2d::CCTransitionScene *, cocos2d::CCObject *(__stdcall *)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *), struct cocos2d::CCScene *, _QWORD))copyWithZone)(\n      v6,\n      copyWithZone,\n      a2,\n      a3);\n  }\n  cocos2d::CCObject::autorelease(v6);\n  return (struct cocos2d::CCTransitionFlipAngular *)v6;\n}", "assembly": "; \n; cocos2d::CCTransitionFlipAngular::create from 0x180053290 to 0x18005332f (159 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFlipAngular::create @ 0x180053286\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b25b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180053290\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180053295\npush    rdi                                                            ; +0xa, 0x18005329a\nsub     rsp, 30h                                                       ; +0xb, 0x18005329b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18005329f\nmov     edi, r8d                                                       ; +0x14, 0x1800532a4\nmov     rsi, rdx                                                       ; +0x17, 0x1800532a7\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x1800532aa\nmov     ecx, 168h; Size                                                ; +0x1d, 0x1800532ad\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x1800532b2\nmov     rbx, rax                                                       ; +0x27, 0x1800532b7\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x1800532ba\ntest    rax, rax                                                       ; +0x2f, 0x1800532bf\njz      short loc_1800532D8                                            ; +0x32, 0x1800532c2\nmov     rcx, rax; this                                                 ; +0x34, 0x1800532c4\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x1800532c7\nlea     rax, ??_7CCTransitionFlipAngular@cocos2d@@6B@; const cocos2d::CCTransitionFlipAngular::`vftable' ; +0x3c, 0x1800532cc\nmov     [rbx], rax                                                     ; +0x43, 0x1800532d3\njmp     short loc_1800532DA                                            ; +0x46, 0x1800532d6\nxor     ebx, ebx                                                       ; +0x48, 0x1800532d8\nmov     rax, [rbx]                                                     ; +0x4a, 0x1800532da\nmov     rdx, [rax+378h]                                                ; +0x4d, 0x1800532dd\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x1800532e4\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x1800532eb\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x1800532ee\nmov     rcx, rbx; this                                                 ; +0x61, 0x1800532f1\ncmp     rdx, rax                                                       ; +0x64, 0x1800532f4\njnz     short loc_18005330A                                            ; +0x67, 0x1800532f7\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x1800532f9\ntest    al, al                                                         ; +0x6e, 0x1800532fe\njz      short loc_18005330F                                            ; +0x70, 0x180053300\nmov     [rbx+160h], edi                                                ; +0x72, 0x180053302\njmp     short loc_18005330F                                            ; +0x78, 0x180053308\nmov     r9d, edi                                                       ; +0x7a, 0x18005330a\ncall    rdx                                                            ; +0x7d, 0x18005330d\nmov     rcx, rbx; this                                                 ; +0x7f, 0x18005330f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x180053312\nmov     rax, rbx                                                       ; +0x87, 0x180053317\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x18005331a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x18005331f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x180053324\nadd     rsp, 30h                                                       ; +0x99, 0x180053329\npop     rdi                                                            ; +0x9d, 0x18005332d\nretn                                                                   ; +0x9e, 0x18005332e", "xrefs": ["cocos2d::CCTransitionFlipAngular::create @ 0x180053286", "<???> @ 0x1801438a8", "<???> @ 0x1801b25b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}