{"type": "func", "start": 6442815472, "end": 6442815696, "name": "cocos2d::CCTransitionProgressInOut::create", "pseudocode": "// \n// cocos2d::CCTransitionProgressInOut::create from 0x180058ff0 to 0x1800590d0 (224 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcbe0\n// > <???> @ 0x1801bcbec\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:48 +0000\n// \n\nstruct cocos2d::CCTransitionProgressInOut *__fastcall cocos2d::CCTransitionProgressInOut::create(\n        float a1,\n        struct cocos2d::CCScene *a2)\n{\n  cocos2d::CCTransitionScene *v3; // rax\n  cocos2d::CCTransitionScene *v4; // rbx\n  cocos2d::CCObject **(__fastcall *v6)(cocos2d::CCObject **, char); // r8\n\n  v3 = (cocos2d::CCTransitionScene *)sub_1800E4AC0(0x170u);\n  v4 = v3;\n  if ( v3 )\n  {\n    memset(v3, 0, 0x170u);\n    cocos2d::CCTransitionScene::CCTransitionScene(v4);\n    *((_QWORD *)v4 + 44) = 0;\n    *((_QWORD *)v4 + 45) = 0;\n    *(_QWORD *)v4 = &cocos2d::CCTransitionProgressInOut::`vftable';\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( v4 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCTransitionScene *, _QWORD, struct cocos2d::CCScene *))(*(_QWORD *)v4 + 888LL))(\n           v4,\n           *(_QWORD *)(*(_QWORD *)v4 + 888LL),\n           a2) )\n    {\n      cocos2d::CCObject::autorelease(v4);\n      return v4;\n    }\n    v6 = *(cocos2d::CCObject **(__fastcall **)(cocos2d::CCObject **, char))(*(_QWORD *)v4 + 8LL);\n    if ( v6 == sub_180058DB0 )\n    {\n      sub_180058DB0((cocos2d::CCObject **)v4, 1);\n      return nullptr;\n    }\n    v6((cocos2d::CCObject **)v4, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCTransitionProgressInOut::create from 0x180058ff0 to 0x1800590d0 (224 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcbe0\n; > <???> @ 0x1801bcbec\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180058ff0\npush    rdi                                                            ; +0x5, 0x180058ff5\nsub     rsp, 30h                                                       ; +0x6, 0x180058ff6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180058ffa\nmov     rdi, rdx                                                       ; +0xf, 0x180058fff\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x180059002\nmov     ecx, 170h; Size                                                ; +0x15, 0x180059005\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18005900a\nmov     rbx, rax                                                       ; +0x1f, 0x18005900f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180059012\ntest    rax, rax                                                       ; +0x27, 0x180059017\njz      short loc_180059050                                            ; +0x2a, 0x18005901a\nxor     edx, edx; Val                                                  ; +0x2c, 0x18005901c\nmov     r8d, 170h; Size                                                ; +0x2e, 0x18005901e\nmov     rcx, rax; void *                                               ; +0x34, 0x180059024\ncall    memset                                                         ; +0x37, 0x180059027\nmov     rcx, rbx; this                                                 ; +0x3c, 0x18005902c\ncall    ??0CCTransitionScene@cocos2d@@QEAA@XZ; cocos2d::CCTransitionScene::CCTransitionScene(void) ; +0x3f, 0x18005902f\nxor     eax, eax                                                       ; +0x44, 0x180059034\nmov     [rbx+160h], rax                                                ; +0x46, 0x180059036\nmov     [rbx+168h], rax                                                ; +0x4d, 0x18005903d\nlea     rax, ??_7CCTransitionProgressInOut@cocos2d@@6B@; const cocos2d::CCTransitionProgressInOut::`vftable' ; +0x54, 0x180059044\nmov     [rbx], rax                                                     ; +0x5b, 0x18005904b\njmp     short loc_180059053                                            ; +0x5e, 0x18005904e\nmov     rbx, rax                                                       ; +0x60, 0x180059050\ntest    rbx, rbx                                                       ; +0x63, 0x180059053\njz      short loc_1800590BE                                            ; +0x66, 0x180059056\nmov     rcx, [rbx]                                                     ; +0x68, 0x180059058\nmov     rdx, [rcx+378h]                                                ; +0x6b, 0x18005905b\nmov     r8, rdi                                                        ; +0x72, 0x180059062\nmovaps  xmm1, xmm6                                                     ; +0x75, 0x180059065\nmov     rcx, rbx                                                       ; +0x78, 0x180059068\ncall    rdx                                                            ; +0x7b, 0x18005906b\nmov     rcx, rbx; Block                                                ; +0x7d, 0x18005906d\ntest    al, al                                                         ; +0x80, 0x180059070\njz      short loc_18005908C                                            ; +0x82, 0x180059072\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x84, 0x180059074\nmov     rax, rbx                                                       ; +0x89, 0x180059079\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8c, 0x18005907c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x91, 0x180059081\nadd     rsp, 30h                                                       ; +0x96, 0x180059086\npop     rdi                                                            ; +0x9a, 0x18005908a\nretn                                                                   ; +0x9b, 0x18005908b\nmov     rax, [rbx]                                                     ; +0x9c, 0x18005908c\nmov     r8, [rax+8]                                                    ; +0x9f, 0x18005908f\nlea     rax, sub_180058DB0                                             ; +0xa3, 0x180059093\nmov     edx, 1                                                         ; +0xaa, 0x18005909a\ncmp     r8, rax                                                        ; +0xaf, 0x18005909f\njnz     short loc_1800590BB                                            ; +0xb2, 0x1800590a2\ncall    sub_180058DB0                                                  ; +0xb4, 0x1800590a4\nxor     eax, eax                                                       ; +0xb9, 0x1800590a9\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xbb, 0x1800590ab\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc0, 0x1800590b0\nadd     rsp, 30h                                                       ; +0xc5, 0x1800590b5\npop     rdi                                                            ; +0xc9, 0x1800590b9\nretn                                                                   ; +0xca, 0x1800590ba\ncall    r8                                                             ; +0xcb, 0x1800590bb\nxor     eax, eax                                                       ; +0xce, 0x1800590be\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xd0, 0x1800590c0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd5, 0x1800590c5\nadd     rsp, 30h                                                       ; +0xda, 0x1800590ca\npop     rdi                                                            ; +0xde, 0x1800590ce\nretn                                                                   ; +0xdf, 0x1800590cf", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bcbe0", "<???> @ 0x1801bcbec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}