{"type": "func", "start": 6442830288, "end": 6442830501, "name": "cocos2d::CCMotionStreak::~CCMotionStreak", "pseudocode": "// \n// cocos2d::CCMotionStreak::~CCMotionStreak from 0x18005c9d0 to 0x18005caa5 (213 bytes)\n// \n// 4 xrefs:\n// > sub_18005CAB0 @ 0x18005cb0e\n// > sub_18005CAB0 @ 0x18005cacc\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b30d8\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\nvoid __fastcall cocos2d::CCMotionStreak::~CCMotionStreak(cocos2d::CCMotionStreak *this)\n{\n  cocos2d::CCTexture2D *m_pTexture; // rcx\n  float *m_pPointState; // rcx\n  cocos2d::CCPoint *m_pPointVertexes; // rcx\n  cocos2d::ccVertex2F *m_pVertices; // rcx\n  GLubyte *m_pColorPointer; // rcx\n  cocos2d::ccTex2F *m_pTexCoords; // rcx\n\n  this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMotionStreak_vtbl *)&cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCNode'};\n  this->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCRGBAProtocol'};\n  this->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCMotionStreak::`vftable';\n  m_pTexture = this->m_pTexture;\n  if ( m_pTexture )\n    cocos2d::CCObject::release(m_pTexture);\n  m_pPointState = this->m_pPointState;\n  if ( m_pPointState )\n  {\n    free(m_pPointState);\n    this->m_pPointState = nullptr;\n  }\n  m_pPointVertexes = this->m_pPointVertexes;\n  if ( m_pPointVertexes )\n  {\n    free(m_pPointVertexes);\n    this->m_pPointVertexes = nullptr;\n  }\n  m_pVertices = this->m_pVertices;\n  if ( m_pVertices )\n  {\n    free(m_pVertices);\n    this->m_pVertices = nullptr;\n  }\n  m_pColorPointer = this->m_pColorPointer;\n  if ( m_pColorPointer )\n  {\n    free(m_pColorPointer);\n    this->m_pColorPointer = nullptr;\n  }\n  m_pTexCoords = this->m_pTexCoords;\n  if ( m_pTexCoords )\n  {\n    free(m_pTexCoords);\n    this->m_pTexCoords = nullptr;\n  }\n  cocos2d::CCNodeRGBA::~CCNodeRGBA(this);\n}", "assembly": "; \n; cocos2d::CCMotionStreak::~CCMotionStreak from 0x18005c9d0 to 0x18005caa5 (213 bytes)\n; \n; 4 xrefs:\n; > sub_18005CAB0 @ 0x18005cb0e\n; > sub_18005CAB0 @ 0x18005cacc\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b30d8\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, 0x18005c9d0\npush    rdi                                                            ; +0x5, 0x18005c9d5\nsub     rsp, 20h                                                       ; +0x6, 0x18005c9d6\nmov     rbx, rcx                                                       ; +0xa, 0x18005c9da\nlea     rax, ??_7CCMotionStreak@cocos2d@@6BCCNode@1@@; const cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCNode'} ; +0xd, 0x18005c9dd\nmov     [rcx], rax                                                     ; +0x14, 0x18005c9e4\nlea     rax, ??_7CCMotionStreak@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x17, 0x18005c9e7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x18005c9ee\nlea     rax, ??_7CCMotionStreak@cocos2d@@6B@; const cocos2d::CCMotionStreak::`vftable' ; +0x25, 0x18005c9f5\nmov     [rcx+158h], rax                                                ; +0x2c, 0x18005c9fc\nmov     rcx, [rcx+168h]; this                                          ; +0x33, 0x18005ca03\ntest    rcx, rcx                                                       ; +0x3a, 0x18005ca0a\njz      short loc_18005CA14                                            ; +0x3d, 0x18005ca0d\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3f, 0x18005ca0f\nmov     rcx, [rbx+198h]; Block                                         ; +0x44, 0x18005ca14\nxor     edi, edi                                                       ; +0x4b, 0x18005ca1b\ntest    rcx, rcx                                                       ; +0x4d, 0x18005ca1d\njz      short loc_18005CA2F                                            ; +0x50, 0x18005ca20\ncall    cs:__imp_free                                                  ; +0x52, 0x18005ca22\nmov     [rbx+198h], rdi                                                ; +0x58, 0x18005ca28\nmov     rcx, [rbx+190h]; Block                                         ; +0x5f, 0x18005ca2f\ntest    rcx, rcx                                                       ; +0x66, 0x18005ca36\njz      short loc_18005CA48                                            ; +0x69, 0x18005ca39\ncall    cs:__imp_free                                                  ; +0x6b, 0x18005ca3b\nmov     [rbx+190h], rdi                                                ; +0x71, 0x18005ca41\nmov     rcx, [rbx+1A0h]; Block                                         ; +0x78, 0x18005ca48\ntest    rcx, rcx                                                       ; +0x7f, 0x18005ca4f\njz      short loc_18005CA61                                            ; +0x82, 0x18005ca52\ncall    cs:__imp_free                                                  ; +0x84, 0x18005ca54\nmov     [rbx+1A0h], rdi                                                ; +0x8a, 0x18005ca5a\nmov     rcx, [rbx+1A8h]; Block                                         ; +0x91, 0x18005ca61\ntest    rcx, rcx                                                       ; +0x98, 0x18005ca68\njz      short loc_18005CA7A                                            ; +0x9b, 0x18005ca6b\ncall    cs:__imp_free                                                  ; +0x9d, 0x18005ca6d\nmov     [rbx+1A8h], rdi                                                ; +0xa3, 0x18005ca73\nmov     rcx, [rbx+1B0h]; Block                                         ; +0xaa, 0x18005ca7a\ntest    rcx, rcx                                                       ; +0xb1, 0x18005ca81\njz      short loc_18005CA93                                            ; +0xb4, 0x18005ca84\ncall    cs:__imp_free                                                  ; +0xb6, 0x18005ca86\nmov     [rbx+1B0h], rdi                                                ; +0xbc, 0x18005ca8c\nmov     rcx, rbx; this                                                 ; +0xc3, 0x18005ca93\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc6, 0x18005ca96\nadd     rsp, 20h                                                       ; +0xcb, 0x18005ca9b\npop     rdi                                                            ; +0xcf, 0x18005ca9f\njmp     ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0xd0, 0x18005caa0", "xrefs": ["sub_18005CAB0 @ 0x18005cb0e", "sub_18005CAB0 @ 0x18005cacc", "<???> @ 0x1801438a8", "<???> @ 0x1801b30d8"], "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"}