{"type": "func", "start": 6442791744, "end": 6442791903, "name": "cocos2d::CCTransitionFlipX::create", "pseudocode": "// \n// cocos2d::CCTransitionFlipX::create from 0x180053340 to 0x1800533df (159 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFlipX::create @ 0x180053336\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b25bc\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::CCTransitionFlipX *__fastcall cocos2d::CCTransitionFlipX::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::CCTransitionFlipX::`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::CCTransitionFlipX *)v6;\n}", "assembly": "; \n; cocos2d::CCTransitionFlipX::create from 0x180053340 to 0x1800533df (159 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFlipX::create @ 0x180053336\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b25bc\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, 0x180053340\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180053345\npush    rdi                                                            ; +0xa, 0x18005334a\nsub     rsp, 30h                                                       ; +0xb, 0x18005334b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18005334f\nmov     edi, r8d                                                       ; +0x14, 0x180053354\nmov     rsi, rdx                                                       ; +0x17, 0x180053357\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x18005335a\nmov     ecx, 168h; Size                                                ; +0x1d, 0x18005335d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x180053362\nmov     rbx, rax                                                       ; +0x27, 0x180053367\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x18005336a\ntest    rax, rax                                                       ; +0x2f, 0x18005336f\njz      short loc_180053388                                            ; +0x32, 0x180053372\nmov     rcx, rax; this                                                 ; +0x34, 0x180053374\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x180053377\nlea     rax, ??_7CCTransitionFlipX@cocos2d@@6B@; const cocos2d::CCTransitionFlipX::`vftable' ; +0x3c, 0x18005337c\nmov     [rbx], rax                                                     ; +0x43, 0x180053383\njmp     short loc_18005338A                                            ; +0x46, 0x180053386\nxor     ebx, ebx                                                       ; +0x48, 0x180053388\nmov     rax, [rbx]                                                     ; +0x4a, 0x18005338a\nmov     rdx, [rax+378h]                                                ; +0x4d, 0x18005338d\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x180053394\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x18005339b\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x18005339e\nmov     rcx, rbx; this                                                 ; +0x61, 0x1800533a1\ncmp     rdx, rax                                                       ; +0x64, 0x1800533a4\njnz     short loc_1800533BA                                            ; +0x67, 0x1800533a7\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x1800533a9\ntest    al, al                                                         ; +0x6e, 0x1800533ae\njz      short loc_1800533BF                                            ; +0x70, 0x1800533b0\nmov     [rbx+160h], edi                                                ; +0x72, 0x1800533b2\njmp     short loc_1800533BF                                            ; +0x78, 0x1800533b8\nmov     r9d, edi                                                       ; +0x7a, 0x1800533ba\ncall    rdx                                                            ; +0x7d, 0x1800533bd\nmov     rcx, rbx; this                                                 ; +0x7f, 0x1800533bf\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x1800533c2\nmov     rax, rbx                                                       ; +0x87, 0x1800533c7\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x1800533ca\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x1800533cf\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x1800533d4\nadd     rsp, 30h                                                       ; +0x99, 0x1800533d9\npop     rdi                                                            ; +0x9d, 0x1800533dd\nretn                                                                   ; +0x9e, 0x1800533de", "xrefs": ["cocos2d::CCTransitionFlipX::create @ 0x180053336", "<???> @ 0x1801438a8", "<???> @ 0x1801b25bc"], "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"}