{"type": "func", "start": 6442606544, "end": 6442606633, "name": "cocos2d::CCCatmullRomTo::initWithDuration", "pseudocode": "// \n// cocos2d::CCCatmullRomTo::initWithDuration from 0x180025fd0 to 0x180026029 (89 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af394\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// Alternative name is '?initWithDuration@CCCatmullRomBy@cocos2d@@QEAA_NMPEAVCCPointArray@2@@Z'\nchar __fastcall cocos2d::CCCatmullRomTo::initWithDuration(\n        cocos2d::CCCatmullRomTo *this,\n        float a2,\n        struct cocos2d::CCPointArray *a3)\n{\n  cocos2d::CCObject *v5; // rcx\n\n  if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )\n    return 0;\n  if ( a3 )\n    cocos2d::CCObject::retain(a3);\n  v5 = *((cocos2d::CCObject **)this + 12);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  *((_QWORD *)this + 12) = a3;\n  *((_DWORD *)this + 27) = 1056964608;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCatmullRomTo::initWithDuration from 0x180025fd0 to 0x180026029 (89 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af394\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, 0x180025fd0\npush    rdi                                                            ; +0x5, 0x180025fd5\nsub     rsp, 20h                                                       ; +0x6, 0x180025fd6\nmov     rdi, r8                                                        ; +0xa, 0x180025fda\nmov     rbx, rcx                                                       ; +0xd, 0x180025fdd\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x10, 0x180025fe0\ntest    al, al                                                         ; +0x15, 0x180025fe5\njz      short loc_18002601C                                            ; +0x17, 0x180025fe7\ntest    rdi, rdi                                                       ; +0x19, 0x180025fe9\njz      short loc_180025FF6                                            ; +0x1c, 0x180025fec\nmov     rcx, rdi; this                                                 ; +0x1e, 0x180025fee\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x21, 0x180025ff1\nmov     rcx, [rbx+60h]; this                                           ; +0x26, 0x180025ff6\ntest    rcx, rcx                                                       ; +0x2a, 0x180025ffa\njz      short loc_180026004                                            ; +0x2d, 0x180025ffd\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2f, 0x180025fff\nmov     [rbx+60h], rdi                                                 ; +0x34, 0x180026004\nmov     al, 1                                                          ; +0x38, 0x180026008\nmov     dword ptr [rbx+6Ch], 3F000000h                                 ; +0x3a, 0x18002600a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x41, 0x180026011\nadd     rsp, 20h                                                       ; +0x46, 0x180026016\npop     rdi                                                            ; +0x4a, 0x18002601a\nretn                                                                   ; +0x4b, 0x18002601b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x18002601c\nxor     al, al                                                         ; +0x51, 0x180026021\nadd     rsp, 20h                                                       ; +0x53, 0x180026023\npop     rdi                                                            ; +0x57, 0x180026027\nretn                                                                   ; +0x58, 0x180026028", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af394"], "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"}