{"type": "func", "start": 6442793648, "end": 6442793807, "name": "cocos2d::CCTransitionSceneOriented::create", "pseudocode": "// \n// cocos2d::CCTransitionSceneOriented::create from 0x180053ab0 to 0x180053b4f (159 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2628\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::CCTransitionSceneOriented *__fastcall cocos2d::CCTransitionSceneOriented::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::CCTransitionSceneOriented::`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::CCTransitionSceneOriented *)v6;\n}", "assembly": "; \n; cocos2d::CCTransitionSceneOriented::create from 0x180053ab0 to 0x180053b4f (159 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2628\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, 0x180053ab0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180053ab5\npush    rdi                                                            ; +0xa, 0x180053aba\nsub     rsp, 30h                                                       ; +0xb, 0x180053abb\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x180053abf\nmov     edi, r8d                                                       ; +0x14, 0x180053ac4\nmov     rsi, rdx                                                       ; +0x17, 0x180053ac7\nmovaps  xmm6, xmm0                                                     ; +0x1a, 0x180053aca\nmov     ecx, 168h; Size                                                ; +0x1d, 0x180053acd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x180053ad2\nmov     rbx, rax                                                       ; +0x27, 0x180053ad7\nmov     [rsp+38h+arg_8], rax                                           ; +0x2a, 0x180053ada\ntest    rax, rax                                                       ; +0x2f, 0x180053adf\njz      short loc_180053AF8                                            ; +0x32, 0x180053ae2\nmov     rcx, rax; this                                                 ; +0x34, 0x180053ae4\ncall    ??0CCScene@cocos2d@@QEAA@XZ; cocos2d::CCScene::CCScene(void)   ; +0x37, 0x180053ae7\nlea     rax, ??_7CCTransitionSceneOriented@cocos2d@@6B@; const cocos2d::CCTransitionSceneOriented::`vftable' ; +0x3c, 0x180053aec\nmov     [rbx], rax                                                     ; +0x43, 0x180053af3\njmp     short loc_180053AFA                                            ; +0x46, 0x180053af6\nxor     ebx, ebx                                                       ; +0x48, 0x180053af8\nmov     rax, [rbx]                                                     ; +0x4a, 0x180053afa\nmov     rdx, [rax+378h]                                                ; +0x4d, 0x180053afd\nlea     rax, ?initWithDuration@CCTransitionSceneOriented@cocos2d@@UEAA_NMPEAVCCScene@2@W4tOrientation@2@@Z; cocos2d::CCTransitionSceneOriented::initWithDuration(float,cocos2d::CCScene *,cocos2d::tOrientation) ; +0x54, 0x180053b04\nmov     r8, rsi; struct cocos2d::CCScene *                             ; +0x5b, 0x180053b0b\nmovaps  xmm1, xmm6; float                                              ; +0x5e, 0x180053b0e\nmov     rcx, rbx; this                                                 ; +0x61, 0x180053b11\ncmp     rdx, rax                                                       ; +0x64, 0x180053b14\njnz     short loc_180053B2A                                            ; +0x67, 0x180053b17\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x69, 0x180053b19\ntest    al, al                                                         ; +0x6e, 0x180053b1e\njz      short loc_180053B2F                                            ; +0x70, 0x180053b20\nmov     [rbx+160h], edi                                                ; +0x72, 0x180053b22\njmp     short loc_180053B2F                                            ; +0x78, 0x180053b28\nmov     r9d, edi                                                       ; +0x7a, 0x180053b2a\ncall    rdx                                                            ; +0x7d, 0x180053b2d\nmov     rcx, rbx; this                                                 ; +0x7f, 0x180053b2f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x82, 0x180053b32\nmov     rax, rbx                                                       ; +0x87, 0x180053b37\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8a, 0x180053b3a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8f, 0x180053b3f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x94, 0x180053b44\nadd     rsp, 30h                                                       ; +0x99, 0x180053b49\npop     rdi                                                            ; +0x9d, 0x180053b4d\nretn                                                                   ; +0x9e, 0x180053b4e", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b2628"], "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"}