{"type": "func", "start": 6442605632, "end": 6442605852, "name": "cocos2d::CCCatmullRomBy::create", "pseudocode": "// \n// cocos2d::CCCatmullRomBy::create from 0x180025c40 to 0x180025d1c (220 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af34c\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCCatmullRomBy *__fastcall cocos2d::CCCatmullRomBy::create(float a1, struct cocos2d::CCPointArray *a2)\n{\n  void *v3; // rbx\n  cocos2d::CCObject *v4; // rcx\n\n  v3 = operator new(0x88u);\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    *((_OWORD *)v3 + 7) = 0;\n    *((_QWORD *)v3 + 16) = 0;\n    cocos2d::CCCardinalSplineBy::CCCardinalSplineBy((cocos2d::CCCardinalSplineBy *)v3);\n    *(_QWORD *)v3 = &cocos2d::CCCatmullRomBy::`vftable';\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return (struct cocos2d::CCCatmullRomBy *)v3;\n  if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v3, a1) )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)v3 + 12);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)v3 + 12) = a2;\n    *((_DWORD *)v3 + 27) = 1056964608;\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n    return (struct cocos2d::CCCatmullRomBy *)v3;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v3);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCCatmullRomBy::create from 0x180025c40 to 0x180025d1c (220 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af34c\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, 0x180025c40\npush    rdi                                                            ; +0x5, 0x180025c45\nsub     rsp, 30h                                                       ; +0x6, 0x180025c46\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180025c4a\nmov     rdi, rdx                                                       ; +0xf, 0x180025c4f\nmovaps  xmm6, xmm0                                                     ; +0x12, 0x180025c52\nmov     ecx, 88h; Size                                                 ; +0x15, 0x180025c55\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x180025c5a\nmov     rbx, rax                                                       ; +0x1f, 0x180025c5f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180025c62\ntest    rax, rax                                                       ; +0x27, 0x180025c67\njz      short loc_180025CAB                                            ; +0x2a, 0x180025c6a\nxorps   xmm1, xmm1                                                     ; +0x2c, 0x180025c6c\nxor     eax, eax                                                       ; +0x2f, 0x180025c6f\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x31, 0x180025c71\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x34, 0x180025c74\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x38, 0x180025c78\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x3c, 0x180025c7c\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x40, 0x180025c80\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x44, 0x180025c84\nmovups  xmmword ptr [rbx+60h], xmm1                                    ; +0x48, 0x180025c88\nmovups  xmmword ptr [rbx+70h], xmm1                                    ; +0x4c, 0x180025c8c\nmov     [rbx+80h], rax                                                 ; +0x50, 0x180025c90\nmov     rcx, rbx; this                                                 ; +0x57, 0x180025c97\ncall    ??0CCCardinalSplineBy@cocos2d@@QEAA@XZ; cocos2d::CCCardinalSplineBy::CCCardinalSplineBy(void) ; +0x5a, 0x180025c9a\nlea     rax, ??_7CCCatmullRomBy@cocos2d@@6B@; const cocos2d::CCCatmullRomBy::`vftable' ; +0x5f, 0x180025c9f\nmov     [rbx], rax                                                     ; +0x66, 0x180025ca6\njmp     short loc_180025CAD                                            ; +0x69, 0x180025ca9\nxor     ebx, ebx                                                       ; +0x6b, 0x180025cab\ntest    rbx, rbx                                                       ; +0x6d, 0x180025cad\njz      short loc_180025CEF                                            ; +0x70, 0x180025cb0\nmovaps  xmm1, xmm6; float                                              ; +0x72, 0x180025cb2\nmov     rcx, rbx; this                                                 ; +0x75, 0x180025cb5\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x78, 0x180025cb8\ntest    al, al                                                         ; +0x7d, 0x180025cbd\njz      short loc_180025D02                                            ; +0x7f, 0x180025cbf\ntest    rdi, rdi                                                       ; +0x81, 0x180025cc1\njz      short loc_180025CCE                                            ; +0x84, 0x180025cc4\nmov     rcx, rdi; this                                                 ; +0x86, 0x180025cc6\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x89, 0x180025cc9\nmov     rcx, [rbx+60h]; this                                           ; +0x8e, 0x180025cce\ntest    rcx, rcx                                                       ; +0x92, 0x180025cd2\njz      short loc_180025CDC                                            ; +0x95, 0x180025cd5\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x97, 0x180025cd7\nmov     [rbx+60h], rdi                                                 ; +0x9c, 0x180025cdc\nmov     dword ptr [rbx+6Ch], 3F000000h                                 ; +0xa0, 0x180025ce0\nmov     rcx, rbx; this                                                 ; +0xa7, 0x180025ce7\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xaa, 0x180025cea\nmov     rax, rbx                                                       ; +0xaf, 0x180025cef\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb2, 0x180025cf2\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb7, 0x180025cf7\nadd     rsp, 30h                                                       ; +0xbc, 0x180025cfc\npop     rdi                                                            ; +0xc0, 0x180025d00\nretn                                                                   ; +0xc1, 0x180025d01\nmov     rcx, rbx; this                                                 ; +0xc2, 0x180025d02\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xc5, 0x180025d05\nxor     eax, eax                                                       ; +0xca, 0x180025d0a\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xcc, 0x180025d0c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd1, 0x180025d11\nadd     rsp, 30h                                                       ; +0xd6, 0x180025d16\npop     rdi                                                            ; +0xda, 0x180025d1a\nretn                                                                   ; +0xdb, 0x180025d1b", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af34c"], "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"}