{"type": "func", "start": 6442690080, "end": 6442690279, "name": "cocos2d::CCFadeOutUpTiles::create", "pseudocode": "// \n// cocos2d::CCFadeOutUpTiles::create from 0x18003a620 to 0x18003a6e7 (199 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFadeUp::actionWithSize @ 0x180052ca8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0e34\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::CCFadeOutUpTiles *__fastcall cocos2d::CCFadeOutUpTiles::create(\n        float a1,\n        const struct cocos2d::CCSize *a2)\n{\n  _QWORD *v3; // rbx\n\n  v3 = operator new(0x68u);\n  if ( v3 )\n  {\n    *(_OWORD *)v3 = 0;\n    *((_OWORD *)v3 + 1) = 0;\n    *((_OWORD *)v3 + 2) = 0;\n    *((_OWORD *)v3 + 3) = 0;\n    *((_OWORD *)v3 + 4) = 0;\n    *((_OWORD *)v3 + 5) = 0;\n    v3[12] = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);\n    *((_DWORD *)v3 + 20) = 0;\n    *v3 = &cocos2d::CCGridAction::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)v3 + 12);\n    *v3 = &cocos2d::CCFadeOutUpTiles::`vftable';\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return (struct cocos2d::CCFadeOutUpTiles *)v3;\n  if ( (*(unsigned __int8 (__fastcall **)(_QWORD *, _QWORD, const struct cocos2d::CCSize *))(*v3 + 112LL))(v3, *v3, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n    return (struct cocos2d::CCFadeOutUpTiles *)v3;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v3);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCFadeOutUpTiles::create from 0x18003a620 to 0x18003a6e7 (199 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFadeUp::actionWithSize @ 0x180052ca8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0e34\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, 0x18003a620\npush    rdi                                                            ; +0x5, 0x18003a625\nsub     rsp, 30h                                                       ; +0x6, 0x18003a626\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18003a62a\nmov     rdi, rdx                                                       ; +0xf, 0x18003a62f\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x18003a632\nmov     ecx, 68h ; 'h'; Size                                           ; +0x15, 0x18003a635\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x18003a63a\nmov     rbx, rax                                                       ; +0x1f, 0x18003a63f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x18003a642\ntest    rax, rax                                                       ; +0x27, 0x18003a647\njz      short loc_18003A69B                                            ; +0x2a, 0x18003a64a\nxorps   xmm1, xmm1                                                     ; +0x2c, 0x18003a64c\nxor     eax, eax                                                       ; +0x2f, 0x18003a64f\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x31, 0x18003a651\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x34, 0x18003a654\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x38, 0x18003a658\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x3c, 0x18003a65c\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x40, 0x18003a660\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x44, 0x18003a664\nmov     [rbx+60h], rax                                                 ; +0x48, 0x18003a668\nmov     rcx, rbx; this                                                 ; +0x4c, 0x18003a66c\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4f, 0x18003a66f\nmov     dword ptr [rbx+50h], 0                                         ; +0x54, 0x18003a674\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5b, 0x18003a67b\nmov     [rbx], rax                                                     ; +0x62, 0x18003a682\nlea     rcx, [rbx+60h]; this                                           ; +0x65, 0x18003a685\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x69, 0x18003a689\nnop                                                                    ; +0x6e, 0x18003a68e\nlea     rax, ??_7CCFadeOutUpTiles@cocos2d@@6B@; const cocos2d::CCFadeOutUpTiles::`vftable' ; +0x6f, 0x18003a68f\nmov     [rbx], rax                                                     ; +0x76, 0x18003a696\njmp     short loc_18003A69D                                            ; +0x79, 0x18003a699\nxor     ebx, ebx                                                       ; +0x7b, 0x18003a69b\ntest    rbx, rbx                                                       ; +0x7d, 0x18003a69d\njz      short loc_18003A6BD                                            ; +0x80, 0x18003a6a0\nmov     rdx, [rbx]                                                     ; +0x82, 0x18003a6a2\nmov     r8, rdi                                                        ; +0x85, 0x18003a6a5\nmovaps  xmm1, xmm6                                                     ; +0x88, 0x18003a6a8\nmov     rcx, rbx                                                       ; +0x8b, 0x18003a6ab\ncall    qword ptr [rdx+70h]                                            ; +0x8e, 0x18003a6ae\nmov     rcx, rbx; this                                                 ; +0x91, 0x18003a6b1\ntest    al, al                                                         ; +0x94, 0x18003a6b4\njz      short loc_18003A6D0                                            ; +0x96, 0x18003a6b6\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x98, 0x18003a6b8\nmov     rax, rbx                                                       ; +0x9d, 0x18003a6bd\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa0, 0x18003a6c0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa5, 0x18003a6c5\nadd     rsp, 30h                                                       ; +0xaa, 0x18003a6ca\npop     rdi                                                            ; +0xae, 0x18003a6ce\nretn                                                                   ; +0xaf, 0x18003a6cf\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xb0, 0x18003a6d0\nxor     eax, eax                                                       ; +0xb5, 0x18003a6d5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb7, 0x18003a6d7\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xbc, 0x18003a6dc\nadd     rsp, 30h                                                       ; +0xc1, 0x18003a6e1\npop     rdi                                                            ; +0xc5, 0x18003a6e5\nretn                                                                   ; +0xc6, 0x18003a6e6", "xrefs": ["cocos2d::CCTransitionFadeUp::actionWithSize @ 0x180052ca8", "<???> @ 0x1801438a8", "<???> @ 0x1801b0e34"], "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"}