{"type": "func", "start": 6442791920, "end": 6442792079, "name": "cocos2d::CCTransitionFlipY::create", "pseudocode": "// \n// cocos2d::CCTransitionFlipY::create from 0x1800533f0 to 0x18005348f (159 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFlipY::create @ 0x1800533e3\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b25c8\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\nstruct cocos2d::CCTransitionFlipY *__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  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::CCTransitionFlipY::`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::CCTransitionFlipY *)v6;\n}", "assembly": "; \n; cocos2d::CCTransitionFlipY::create from 0x1800533f0 to 0x18005348f (159 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFlipY::create @ 0x1800533e3\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b25c8\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, 0x1800533f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800533f5\npush    rdi                                                            ; +0xa, 0x1800533fa\nsub     rsp, 30h                                                       ; +0xb, 0x1800533fb\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x1800533ff\nmov     edi, r8d                                                       ; +0x14, 0x180053404\nmov     rsi, rdx                                                       ; +0x17, 0x180053407\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x18005340a\nmov     ecx, 168h; Size                                                ; +0x1d, 0x18005340d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x180053412\nmov     rbx, rax                                                       ; +0x27, 0x180053417\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x18005341a\ntest    rax, rax                                                       ; +0x2f, 0x18005341f\njz      short loc_180053438                                            ; +0x32, 0x180053422\nmov     rcx, rax; this                                                 ; +0x34, 0x180053424\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x180053427\nlea     rax, ??_7CCTransitionFlipY@cocos2d@@6B@; const cocos2d::CCTransitionFlipY::`vftable' ; +0x3c, 0x18005342c\nmov     [rbx], rax                                                     ; +0x43, 0x180053433\njmp     short loc_18005343A                                            ; +0x46, 0x180053436\nxor     ebx, ebx                                                       ; +0x48, 0x180053438\nmov     rax, [rbx]                                                     ; +0x4a, 0x18005343a\nmov     rdx, [rax+378h]                                                ; +0x4d, 0x18005343d\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x180053444\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x18005344b\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x18005344e\nmov     rcx, rbx; this                                                 ; +0x61, 0x180053451\ncmp     rdx, rax                                                       ; +0x64, 0x180053454\njnz     short loc_18005346A                                            ; +0x67, 0x180053457\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x180053459\ntest    al, al                                                         ; +0x6e, 0x18005345e\njz      short loc_18005346F                                            ; +0x70, 0x180053460\nmov     [rbx+160h], edi                                                ; +0x72, 0x180053462\njmp     short loc_18005346F                                            ; +0x78, 0x180053468\nmov     r9d, edi                                                       ; +0x7a, 0x18005346a\ncall    rdx                                                            ; +0x7d, 0x18005346d\nmov     rcx, rbx; this                                                 ; +0x7f, 0x18005346f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x180053472\nmov     rax, rbx                                                       ; +0x87, 0x180053477\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x18005347a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x18005347f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x180053484\nadd     rsp, 30h                                                       ; +0x99, 0x180053489\npop     rdi                                                            ; +0x9d, 0x18005348d\nretn                                                                   ; +0x9e, 0x18005348e", "xrefs": ["cocos2d::CCTransitionFlipY::create @ 0x1800533e3", "<???> @ 0x1801438a8", "<???> @ 0x1801b25c8"], "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"}