{"type": "func", "start": 6442689456, "end": 6442689655, "name": "cocos2d::CCFadeOutBLTiles::create", "pseudocode": "// \n// cocos2d::CCFadeOutBLTiles::create from 0x18003a3b0 to 0x18003a477 (199 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionFadeBL::actionWithSize @ 0x180052c78\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0e10\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::CCFadeOutBLTiles *__fastcall cocos2d::CCFadeOutBLTiles::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::CCFadeOutBLTiles::`vftable';\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return (struct cocos2d::CCFadeOutBLTiles *)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::CCFadeOutBLTiles *)v3;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v3);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCFadeOutBLTiles::create from 0x18003a3b0 to 0x18003a477 (199 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionFadeBL::actionWithSize @ 0x180052c78\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0e10\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, 0x18003a3b0\npush    rdi                                                            ; +0x5, 0x18003a3b5\nsub     rsp, 30h                                                       ; +0x6, 0x18003a3b6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18003a3ba\nmov     rdi, rdx                                                       ; +0xf, 0x18003a3bf\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x18003a3c2\nmov     ecx, 68h ; 'h'; Size                                           ; +0x15, 0x18003a3c5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x18003a3ca\nmov     rbx, rax                                                       ; +0x1f, 0x18003a3cf\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x18003a3d2\ntest    rax, rax                                                       ; +0x27, 0x18003a3d7\njz      short loc_18003A42B                                            ; +0x2a, 0x18003a3da\nxorps   xmm1, xmm1                                                     ; +0x2c, 0x18003a3dc\nxor     eax, eax                                                       ; +0x2f, 0x18003a3df\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x31, 0x18003a3e1\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x34, 0x18003a3e4\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x38, 0x18003a3e8\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x3c, 0x18003a3ec\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x40, 0x18003a3f0\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x44, 0x18003a3f4\nmov     [rbx+60h], rax                                                 ; +0x48, 0x18003a3f8\nmov     rcx, rbx; this                                                 ; +0x4c, 0x18003a3fc\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4f, 0x18003a3ff\nmov     dword ptr [rbx+50h], 0                                         ; +0x54, 0x18003a404\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5b, 0x18003a40b\nmov     [rbx], rax                                                     ; +0x62, 0x18003a412\nlea     rcx, [rbx+60h]; this                                           ; +0x65, 0x18003a415\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x69, 0x18003a419\nnop                                                                    ; +0x6e, 0x18003a41e\nlea     rax, ??_7CCFadeOutBLTiles@cocos2d@@6B@; const cocos2d::CCFadeOutBLTiles::`vftable' ; +0x6f, 0x18003a41f\nmov     [rbx], rax                                                     ; +0x76, 0x18003a426\njmp     short loc_18003A42D                                            ; +0x79, 0x18003a429\nxor     ebx, ebx                                                       ; +0x7b, 0x18003a42b\ntest    rbx, rbx                                                       ; +0x7d, 0x18003a42d\njz      short loc_18003A44D                                            ; +0x80, 0x18003a430\nmov     rdx, [rbx]                                                     ; +0x82, 0x18003a432\nmov     r8, rdi                                                        ; +0x85, 0x18003a435\nmovaps  xmm1, xmm6                                                     ; +0x88, 0x18003a438\nmov     rcx, rbx                                                       ; +0x8b, 0x18003a43b\ncall    qword ptr [rdx+70h]                                            ; +0x8e, 0x18003a43e\nmov     rcx, rbx; this                                                 ; +0x91, 0x18003a441\ntest    al, al                                                         ; +0x94, 0x18003a444\njz      short loc_18003A460                                            ; +0x96, 0x18003a446\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x98, 0x18003a448\nmov     rax, rbx                                                       ; +0x9d, 0x18003a44d\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa0, 0x18003a450\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa5, 0x18003a455\nadd     rsp, 30h                                                       ; +0xaa, 0x18003a45a\npop     rdi                                                            ; +0xae, 0x18003a45e\nretn                                                                   ; +0xaf, 0x18003a45f\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xb0, 0x18003a460\nxor     eax, eax                                                       ; +0xb5, 0x18003a465\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb7, 0x18003a467\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xbc, 0x18003a46c\nadd     rsp, 30h                                                       ; +0xc1, 0x18003a471\npop     rdi                                                            ; +0xc5, 0x18003a475\nretn                                                                   ; +0xc6, 0x18003a476", "xrefs": ["cocos2d::CCTransitionFadeBL::actionWithSize @ 0x180052c78", "<???> @ 0x1801438a8", "<???> @ 0x1801b0e10"], "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"}