{"type": "func", "start": 6442795792, "end": 6442795951, "name": "cocos2d::CCTransitionZoomFlipX::create", "pseudocode": "// \n// cocos2d::CCTransitionZoomFlipX::create from 0x180054310 to 0x1800543af (159 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionZoomFlipX::create @ 0x180054306\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b26a0\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::CCTransitionZoomFlipX *__fastcall cocos2d::CCTransitionZoomFlipX::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::CCTransitionZoomFlipX::`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::CCTransitionZoomFlipX *)v6;\n}", "assembly": "; \n; cocos2d::CCTransitionZoomFlipX::create from 0x180054310 to 0x1800543af (159 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionZoomFlipX::create @ 0x180054306\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b26a0\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, 0x180054310\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180054315\npush    rdi                                                            ; +0xa, 0x18005431a\nsub     rsp, 30h                                                       ; +0xb, 0x18005431b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18005431f\nmov     edi, r8d                                                       ; +0x14, 0x180054324\nmov     rsi, rdx                                                       ; +0x17, 0x180054327\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x18005432a\nmov     ecx, 168h; Size                                                ; +0x1d, 0x18005432d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x180054332\nmov     rbx, rax                                                       ; +0x27, 0x180054337\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x18005433a\ntest    rax, rax                                                       ; +0x2f, 0x18005433f\njz      short loc_180054358                                            ; +0x32, 0x180054342\nmov     rcx, rax; this                                                 ; +0x34, 0x180054344\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x180054347\nlea     rax, ??_7CCTransitionZoomFlipX@cocos2d@@6B@; const cocos2d::CCTransitionZoomFlipX::`vftable' ; +0x3c, 0x18005434c\nmov     [rbx], rax                                                     ; +0x43, 0x180054353\njmp     short loc_18005435A                                            ; +0x46, 0x180054356\nxor     ebx, ebx                                                       ; +0x48, 0x180054358\nmov     rax, [rbx]                                                     ; +0x4a, 0x18005435a\nmov     rdx, [rax+378h]                                                ; +0x4d, 0x18005435d\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x180054364\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x18005436b\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x18005436e\nmov     rcx, rbx; this                                                 ; +0x61, 0x180054371\ncmp     rdx, rax                                                       ; +0x64, 0x180054374\njnz     short loc_18005438A                                            ; +0x67, 0x180054377\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x180054379\ntest    al, al                                                         ; +0x6e, 0x18005437e\njz      short loc_18005438F                                            ; +0x70, 0x180054380\nmov     [rbx+160h], edi                                                ; +0x72, 0x180054382\njmp     short loc_18005438F                                            ; +0x78, 0x180054388\nmov     r9d, edi                                                       ; +0x7a, 0x18005438a\ncall    rdx                                                            ; +0x7d, 0x18005438d\nmov     rcx, rbx; this                                                 ; +0x7f, 0x18005438f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x180054392\nmov     rax, rbx                                                       ; +0x87, 0x180054397\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x18005439a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x18005439f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x1800543a4\nadd     rsp, 30h                                                       ; +0x99, 0x1800543a9\npop     rdi                                                            ; +0x9d, 0x1800543ad\nretn                                                                   ; +0x9e, 0x1800543ae", "xrefs": ["cocos2d::CCTransitionZoomFlipX::create @ 0x180054306", "<???> @ 0x1801438a8", "<???> @ 0x1801b26a0"], "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"}