{"type": "func", "start": 6442689664, "end": 6442689863, "name": "cocos2d::CCFadeOutDownTiles::create", "pseudocode": "// \n// cocos2d::CCFadeOutDownTiles::create from 0x18003a480 to 0x18003a547 (199 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFadeDown::actionWithSize @ 0x180052c88\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0e1c\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::CCFadeOutDownTiles *__fastcall cocos2d::CCFadeOutDownTiles::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::CCFadeOutDownTiles::`vftable';\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return (struct cocos2d::CCFadeOutDownTiles *)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::CCFadeOutDownTiles *)v3;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v3);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCFadeOutDownTiles::create from 0x18003a480 to 0x18003a547 (199 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFadeDown::actionWithSize @ 0x180052c88\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0e1c\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, 0x18003a480\npush    rdi                                                            ; +0x5, 0x18003a485\nsub     rsp, 30h                                                       ; +0x6, 0x18003a486\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18003a48a\nmov     rdi, rdx                                                       ; +0xf, 0x18003a48f\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x18003a492\nmov     ecx, 68h ; 'h'; Size                                           ; +0x15, 0x18003a495\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x18003a49a\nmov     rbx, rax                                                       ; +0x1f, 0x18003a49f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x18003a4a2\ntest    rax, rax                                                       ; +0x27, 0x18003a4a7\njz      short loc_18003A4FB                                            ; +0x2a, 0x18003a4aa\nxorps   xmm1, xmm1                                                     ; +0x2c, 0x18003a4ac\nxor     eax, eax                                                       ; +0x2f, 0x18003a4af\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x31, 0x18003a4b1\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x34, 0x18003a4b4\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x38, 0x18003a4b8\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x3c, 0x18003a4bc\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x40, 0x18003a4c0\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x44, 0x18003a4c4\nmov     [rbx+60h], rax                                                 ; +0x48, 0x18003a4c8\nmov     rcx, rbx; this                                                 ; +0x4c, 0x18003a4cc\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4f, 0x18003a4cf\nmov     dword ptr [rbx+50h], 0                                         ; +0x54, 0x18003a4d4\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5b, 0x18003a4db\nmov     [rbx], rax                                                     ; +0x62, 0x18003a4e2\nlea     rcx, [rbx+60h]; this                                           ; +0x65, 0x18003a4e5\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x69, 0x18003a4e9\nnop                                                                    ; +0x6e, 0x18003a4ee\nlea     rax, ??_7CCFadeOutDownTiles@cocos2d@@6B@; const cocos2d::CCFadeOutDownTiles::`vftable' ; +0x6f, 0x18003a4ef\nmov     [rbx], rax                                                     ; +0x76, 0x18003a4f6\njmp     short loc_18003A4FD                                            ; +0x79, 0x18003a4f9\nxor     ebx, ebx                                                       ; +0x7b, 0x18003a4fb\ntest    rbx, rbx                                                       ; +0x7d, 0x18003a4fd\njz      short loc_18003A51D                                            ; +0x80, 0x18003a500\nmov     rdx, [rbx]                                                     ; +0x82, 0x18003a502\nmov     r8, rdi                                                        ; +0x85, 0x18003a505\nmovaps  xmm1, xmm6                                                     ; +0x88, 0x18003a508\nmov     rcx, rbx                                                       ; +0x8b, 0x18003a50b\ncall    qword ptr [rdx+70h]                                            ; +0x8e, 0x18003a50e\nmov     rcx, rbx; this                                                 ; +0x91, 0x18003a511\ntest    al, al                                                         ; +0x94, 0x18003a514\njz      short loc_18003A530                                            ; +0x96, 0x18003a516\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x98, 0x18003a518\nmov     rax, rbx                                                       ; +0x9d, 0x18003a51d\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa0, 0x18003a520\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa5, 0x18003a525\nadd     rsp, 30h                                                       ; +0xaa, 0x18003a52a\npop     rdi                                                            ; +0xae, 0x18003a52e\nretn                                                                   ; +0xaf, 0x18003a52f\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xb0, 0x18003a530\nxor     eax, eax                                                       ; +0xb5, 0x18003a535\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb7, 0x18003a537\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xbc, 0x18003a53c\nadd     rsp, 30h                                                       ; +0xc1, 0x18003a541\npop     rdi                                                            ; +0xc5, 0x18003a545\nretn                                                                   ; +0xc6, 0x18003a546", "xrefs": ["cocos2d::CCTransitionFadeDown::actionWithSize @ 0x180052c88", "<???> @ 0x1801438a8", "<???> @ 0x1801b0e1c"], "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"}