{"type": "func", "start": 6442635232, "end": 6442635461, "name": "cocos2d::CCLiquid::create", "pseudocode": "// \n// cocos2d::CCLiquid::create from 0x18002cfe0 to 0x18002d0c5 (229 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9e14\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:32 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCLiquid *__fastcall cocos2d::CCLiquid::create(\n        float a1,\n        const struct cocos2d::CCSize *a2,\n        int a3,\n        float a4)\n{\n  __int64 v6; // rbx\n\n  v6 = sub_1800E4AC0(0x78u);\n  if ( v6 )\n  {\n    *(_OWORD *)v6 = 0;\n    *(_OWORD *)(v6 + 16) = 0;\n    *(_OWORD *)(v6 + 32) = 0;\n    *(_OWORD *)(v6 + 48) = 0;\n    *(_OWORD *)(v6 + 64) = 0;\n    *(_OWORD *)(v6 + 80) = 0;\n    *(_OWORD *)(v6 + 96) = 0;\n    *(_QWORD *)(v6 + 112) = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v6);\n    *(_DWORD *)(v6 + 80) = 0;\n    *(_QWORD *)v6 = &cocos2d::CCGridAction::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 96));\n    *(_QWORD *)v6 = &cocos2d::CCLiquid::`vftable';\n  }\n  else\n  {\n    v6 = 0;\n  }\n  if ( !v6 )\n    return (struct cocos2d::CCLiquid *)v6;\n  if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v6, a1, a2) )\n  {\n    *(_DWORD *)(v6 + 104) = a3;\n    *(float *)(v6 + 108) = a4;\n    *(_DWORD *)(v6 + 112) = 1065353216;\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n    return (struct cocos2d::CCLiquid *)v6;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v6);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLiquid::create from 0x18002cfe0 to 0x18002d0c5 (229 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9e14\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:32 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18002cfe0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18002cfe5\npush    rdi                                                            ; +0xa, 0x18002cfea\nsub     rsp, 50h                                                       ; +0xb, 0x18002cfeb\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xf, 0x18002cfef\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x14, 0x18002cff4\nmovaps  xmm6, xmm3                                                     ; +0x19, 0x18002cff9\nmov     edi, r8d                                                       ; +0x1c, 0x18002cffc\nmov     rsi, rdx                                                       ; +0x1f, 0x18002cfff\nmovaps  xmm7, xmm0                                                     ; +0x22, 0x18002d002\nmov     ecx, 78h ; 'x'; Size                                           ; +0x25, 0x18002d005\ncall    sub_1800E4AC0                                                  ; +0x2a, 0x18002d00a\nmov     rbx, rax                                                       ; +0x2f, 0x18002d00f\nmov     [rsp+58h+var_38], rax                                          ; +0x32, 0x18002d012\ntest    rax, rax                                                       ; +0x37, 0x18002d017\njz      short loc_18002D06F                                            ; +0x3a, 0x18002d01a\nxorps   xmm1, xmm1                                                     ; +0x3c, 0x18002d01c\nxor     eax, eax                                                       ; +0x3f, 0x18002d01f\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x41, 0x18002d021\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x44, 0x18002d024\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x48, 0x18002d028\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x4c, 0x18002d02c\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x50, 0x18002d030\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x54, 0x18002d034\nmovups  xmmword ptr [rbx+60h], xmm1                                    ; +0x58, 0x18002d038\nmov     [rbx+70h], rax                                                 ; +0x5c, 0x18002d03c\nmov     rcx, rbx; this                                                 ; +0x60, 0x18002d040\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x63, 0x18002d043\nmov     dword ptr [rbx+50h], 0                                         ; +0x68, 0x18002d048\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x6f, 0x18002d04f\nmov     [rbx], rax                                                     ; +0x76, 0x18002d056\nlea     rcx, [rbx+60h]; this                                           ; +0x79, 0x18002d059\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x7d, 0x18002d05d\nnop                                                                    ; +0x82, 0x18002d062\nlea     rax, ??_7CCLiquid@cocos2d@@6B@; const cocos2d::CCLiquid::`vftable' ; +0x83, 0x18002d063\nmov     [rbx], rax                                                     ; +0x8a, 0x18002d06a\njmp     short loc_18002D071                                            ; +0x8d, 0x18002d06d\nxor     ebx, ebx                                                       ; +0x8f, 0x18002d06f\ntest    rbx, rbx                                                       ; +0x91, 0x18002d071\njz      short loc_18002D09F                                            ; +0x94, 0x18002d074\nmov     r8, rsi; struct cocos2d::CCSize *                              ; +0x96, 0x18002d076\nmovaps  xmm1, xmm7; float                                              ; +0x99, 0x18002d079\nmov     rcx, rbx; this                                                 ; +0x9c, 0x18002d07c\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x9f, 0x18002d07f\nmov     rcx, rbx; this                                                 ; +0xa4, 0x18002d084\ntest    al, al                                                         ; +0xa7, 0x18002d087\njz      short loc_18002D0BC                                            ; +0xa9, 0x18002d089\nmov     [rbx+68h], edi                                                 ; +0xab, 0x18002d08b\nmovss   dword ptr [rbx+6Ch], xmm6                                      ; +0xae, 0x18002d08e\nmov     dword ptr [rbx+70h], 3F800000h                                 ; +0xb3, 0x18002d093\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xba, 0x18002d09a\nmov     rax, rbx                                                       ; +0xbf, 0x18002d09f\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xc2, 0x18002d0a2\nmov     rsi, [rsp+58h+arg_8]                                           ; +0xc7, 0x18002d0a7\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xcc, 0x18002d0ac\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0xd1, 0x18002d0b1\nadd     rsp, 50h                                                       ; +0xd6, 0x18002d0b6\npop     rdi                                                            ; +0xda, 0x18002d0ba\nretn                                                                   ; +0xdb, 0x18002d0bb\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xdc, 0x18002d0bc\nxor     eax, eax                                                       ; +0xe1, 0x18002d0c1\njmp     short loc_18002D0A2                                            ; +0xe3, 0x18002d0c3", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b9e14"], "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"}