{"type": "func", "start": 6442691616, "end": 6442691891, "name": "cocos2d::CCSplitRows::create", "pseudocode": "// \n// cocos2d::CCSplitRows::create from 0x18003ac20 to 0x18003ad33 (275 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTransitionSplitRows::action @ 0x180052c65\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0e7c\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::CCSplitRows *__fastcall cocos2d::CCSplitRows::create(float a1, int a2)\n{\n  char *v3; // rbx\n  bool (__fastcall *v4)(cocos2d::CCSplitRows *__hidden, float, unsigned int); // rdx\n  struct cocos2d::CCSize *v5; // rax\n  char v6; // al\n  char *v8; // [rsp+50h] [rbp+18h] BYREF\n\n  v3 = (char *)operator new(0x78u);\n  v8 = v3;\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    *((_OWORD *)v3 + 6) = 0;\n    *((_QWORD *)v3 + 14) = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);\n    *((_DWORD *)v3 + 20) = 0;\n    *(_QWORD *)v3 = &cocos2d::CCGridAction::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)v3 + 12);\n    *(_QWORD *)v3 = &cocos2d::CCSplitRows::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v3 + 108));\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return (struct cocos2d::CCSplitRows *)v3;\n  v4 = *(bool (__fastcall **)(cocos2d::CCSplitRows *__hidden, float, unsigned int))(*(_QWORD *)v3 + 128LL);\n  if ( v4 == cocos2d::CCSplitRows::initWithDuration )\n  {\n    *((_DWORD *)v3 + 26) = a2;\n    v5 = (struct cocos2d::CCSize *)kmVec2Fill((float *)&v8, 1.0, (float)a2);\n    v6 = cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v3, a1, v5);\n  }\n  else\n  {\n    v6 = ((__int64 (__fastcall *)(char *, bool (__fastcall *)(cocos2d::CCSplitRows *__hidden, float, unsigned int), _QWORD))v4)(\n           v3,\n           v4,\n           (unsigned int)a2);\n  }\n  if ( v6 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n    return (struct cocos2d::CCSplitRows *)v3;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v3);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCSplitRows::create from 0x18003ac20 to 0x18003ad33 (275 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTransitionSplitRows::action @ 0x180052c65\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0e7c\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, 0x18003ac20\npush    rdi                                                            ; +0x5, 0x18003ac25\nsub     rsp, 30h                                                       ; +0x6, 0x18003ac26\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18003ac2a\nmov     edi, edx                                                       ; +0xf, 0x18003ac2f\nmovaps  xmm6, xmm0                                                     ; +0x11, 0x18003ac31\nmov     ecx, 78h ; 'x'; Size                                           ; +0x14, 0x18003ac34\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x19, 0x18003ac39\nmov     rbx, rax                                                       ; +0x1e, 0x18003ac3e\nmov     [rsp+38h+arg_10], rax                                          ; +0x21, 0x18003ac41\ntest    rax, rax                                                       ; +0x26, 0x18003ac46\njz      short loc_18003ACA8                                            ; +0x29, 0x18003ac49\nxorps   xmm1, xmm1                                                     ; +0x2b, 0x18003ac4b\nxor     eax, eax                                                       ; +0x2e, 0x18003ac4e\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x30, 0x18003ac50\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x33, 0x18003ac53\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x37, 0x18003ac57\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x3b, 0x18003ac5b\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x3f, 0x18003ac5f\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x43, 0x18003ac63\nmovups  xmmword ptr [rbx+60h], xmm1                                    ; +0x47, 0x18003ac67\nmov     [rbx+70h], rax                                                 ; +0x4b, 0x18003ac6b\nmov     rcx, rbx; this                                                 ; +0x4f, 0x18003ac6f\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x52, 0x18003ac72\nmov     dword ptr [rbx+50h], 0                                         ; +0x57, 0x18003ac77\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5e, 0x18003ac7e\nmov     [rbx], rax                                                     ; +0x65, 0x18003ac85\nlea     rcx, [rbx+60h]; this                                           ; +0x68, 0x18003ac88\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x6c, 0x18003ac8c\nnop                                                                    ; +0x71, 0x18003ac91\nlea     rax, ??_7CCSplitRows@cocos2d@@6B@; const cocos2d::CCSplitRows::`vftable' ; +0x72, 0x18003ac92\nmov     [rbx], rax                                                     ; +0x79, 0x18003ac99\nlea     rcx, [rbx+6Ch]; this                                           ; +0x7c, 0x18003ac9c\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x80, 0x18003aca0\nnop                                                                    ; +0x85, 0x18003aca5\njmp     short loc_18003ACAA                                            ; +0x86, 0x18003aca6\nxor     ebx, ebx                                                       ; +0x88, 0x18003aca8\ntest    rbx, rbx                                                       ; +0x8a, 0x18003acaa\njz      short loc_18003AD09                                            ; +0x8d, 0x18003acad\nmov     rax, [rbx]                                                     ; +0x8f, 0x18003acaf\nmov     rdx, [rax+80h]                                                 ; +0x92, 0x18003acb2\nlea     rax, ?initWithDuration@CCSplitRows@cocos2d@@UEAA_NMI@Z; cocos2d::CCSplitRows::initWithDuration(float,uint) ; +0x99, 0x18003acb9\ncmp     rdx, rax                                                       ; +0xa0, 0x18003acc0\njnz     short loc_18003ACF2                                            ; +0xa3, 0x18003acc3\nmov     [rbx+68h], edi                                                 ; +0xa5, 0x18003acc5\nxorps   xmm2, xmm2                                                     ; +0xa8, 0x18003acc8\ncvtsi2ss xmm2, rdi                                                     ; +0xab, 0x18003accb\nmovss   xmm1, cs:flt_1800E61A8                                         ; +0xb0, 0x18003acd0\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xb8, 0x18003acd8\ncall    kmVec2Fill                                                     ; +0xbd, 0x18003acdd\nmov     r8, rax; struct cocos2d::CCSize *                              ; +0xc2, 0x18003ace2\nmovaps  xmm1, xmm6; float                                              ; +0xc5, 0x18003ace5\nmov     rcx, rbx; this                                                 ; +0xc8, 0x18003ace8\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0xcb, 0x18003aceb\njmp     short loc_18003ACFD                                            ; +0xd0, 0x18003acf0\nmov     r8d, edi                                                       ; +0xd2, 0x18003acf2\nmovaps  xmm1, xmm6                                                     ; +0xd5, 0x18003acf5\nmov     rcx, rbx                                                       ; +0xd8, 0x18003acf8\ncall    rdx                                                            ; +0xdb, 0x18003acfb\nmov     rcx, rbx; this                                                 ; +0xdd, 0x18003acfd\ntest    al, al                                                         ; +0xe0, 0x18003ad00\njz      short loc_18003AD1C                                            ; +0xe2, 0x18003ad02\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe4, 0x18003ad04\nmov     rax, rbx                                                       ; +0xe9, 0x18003ad09\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xec, 0x18003ad0c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xf1, 0x18003ad11\nadd     rsp, 30h                                                       ; +0xf6, 0x18003ad16\npop     rdi                                                            ; +0xfa, 0x18003ad1a\nretn                                                                   ; +0xfb, 0x18003ad1b\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xfc, 0x18003ad1c\nxor     eax, eax                                                       ; +0x101, 0x18003ad21\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x103, 0x18003ad23\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x108, 0x18003ad28\nadd     rsp, 30h                                                       ; +0x10d, 0x18003ad2d\npop     rdi                                                            ; +0x111, 0x18003ad31\nretn                                                                   ; +0x112, 0x18003ad32", "xrefs": ["cocos2d::CCTransitionSplitRows::action @ 0x180052c65", "<???> @ 0x1801438a8", "<???> @ 0x1801b0e7c"], "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"}