{"type": "func", "start": 6442815248, "end": 6442815472, "name": "cocos2d::CCTransitionProgressHorizontal::create", "pseudocode": "// \n// cocos2d::CCTransitionProgressHorizontal::create from 0x180058f10 to 0x180058ff0 (224 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcbd4\n// > <???> @ 0x1801bcbe0\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCTransitionProgressHorizontal *__fastcall cocos2d::CCTransitionProgressHorizontal::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::CCTransitionProgressHorizontal::`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::CCTransitionProgressHorizontal::create from 0x180058f10 to 0x180058ff0 (224 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcbd4\n; > <???> @ 0x1801bcbe0\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, 0x180058f10\npush    rdi                                                            ; +0x5, 0x180058f15\nsub     rsp, 30h                                                       ; +0x6, 0x180058f16\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180058f1a\nmov     rdi, rdx                                                       ; +0xf, 0x180058f1f\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x180058f22\nmov     ecx, 170h; Size                                                ; +0x15, 0x180058f25\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x180058f2a\nmov     rbx, rax                                                       ; +0x1f, 0x180058f2f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180058f32\ntest    rax, rax                                                       ; +0x27, 0x180058f37\njz      short loc_180058F70                                            ; +0x2a, 0x180058f3a\nxor     edx, edx; Val                                                  ; +0x2c, 0x180058f3c\nmov     r8d, 170h; Size                                                ; +0x2e, 0x180058f3e\nmov     rcx, rax; void *                                               ; +0x34, 0x180058f44\ncall    memset                                                         ; +0x37, 0x180058f47\nmov     rcx, rbx; this                                                 ; +0x3c, 0x180058f4c\ncall    ??0CCTransitionScene@cocos2d@@QEAA@XZ; cocos2d::CCTransitionScene::CCTransitionScene(void) ; +0x3f, 0x180058f4f\nxor     eax, eax                                                       ; +0x44, 0x180058f54\nmov     [rbx+160h], rax                                                ; +0x46, 0x180058f56\nmov     [rbx+168h], rax                                                ; +0x4d, 0x180058f5d\nlea     rax, ??_7CCTransitionProgressHorizontal@cocos2d@@6B@; const cocos2d::CCTransitionProgressHorizontal::`vftable' ; +0x54, 0x180058f64\nmov     [rbx], rax                                                     ; +0x5b, 0x180058f6b\njmp     short loc_180058F73                                            ; +0x5e, 0x180058f6e\nmov     rbx, rax                                                       ; +0x60, 0x180058f70\ntest    rbx, rbx                                                       ; +0x63, 0x180058f73\njz      short loc_180058FDE                                            ; +0x66, 0x180058f76\nmov     rcx, [rbx]                                                     ; +0x68, 0x180058f78\nmov     rdx, [rcx+378h]                                                ; +0x6b, 0x180058f7b\nmov     r8, rdi                                                        ; +0x72, 0x180058f82\nmovaps  xmm1, xmm6                                                     ; +0x75, 0x180058f85\nmov     rcx, rbx                                                       ; +0x78, 0x180058f88\ncall    rdx                                                            ; +0x7b, 0x180058f8b\nmov     rcx, rbx; Block                                                ; +0x7d, 0x180058f8d\ntest    al, al                                                         ; +0x80, 0x180058f90\njz      short loc_180058FAC                                            ; +0x82, 0x180058f92\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x84, 0x180058f94\nmov     rax, rbx                                                       ; +0x89, 0x180058f99\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8c, 0x180058f9c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x91, 0x180058fa1\nadd     rsp, 30h                                                       ; +0x96, 0x180058fa6\npop     rdi                                                            ; +0x9a, 0x180058faa\nretn                                                                   ; +0x9b, 0x180058fab\nmov     rax, [rbx]                                                     ; +0x9c, 0x180058fac\nmov     r8, [rax+8]                                                    ; +0x9f, 0x180058faf\nlea     rax, sub_180058DB0                                             ; +0xa3, 0x180058fb3\nmov     edx, 1                                                         ; +0xaa, 0x180058fba\ncmp     r8, rax                                                        ; +0xaf, 0x180058fbf\njnz     short loc_180058FDB                                            ; +0xb2, 0x180058fc2\ncall    sub_180058DB0                                                  ; +0xb4, 0x180058fc4\nxor     eax, eax                                                       ; +0xb9, 0x180058fc9\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xbb, 0x180058fcb\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xc0, 0x180058fd0\nadd     rsp, 30h                                                       ; +0xc5, 0x180058fd5\npop     rdi                                                            ; +0xc9, 0x180058fd9\nretn                                                                   ; +0xca, 0x180058fda\ncall    r8                                                             ; +0xcb, 0x180058fdb\nxor     eax, eax                                                       ; +0xce, 0x180058fde\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xd0, 0x180058fe0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd5, 0x180058fe5\nadd     rsp, 30h                                                       ; +0xda, 0x180058fea\npop     rdi                                                            ; +0xde, 0x180058fee\nretn                                                                   ; +0xdf, 0x180058fef", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bcbd4", "<???> @ 0x1801bcbe0"], "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"}