{"type": "func", "start": 6442524848, "end": 6442524962, "name": "cocos2d::CCDrawNode::~CCDrawNode", "pseudocode": "// \n// cocos2d::CCDrawNode::~CCDrawNode from 0x1800120b0 to 0x180012122 (114 bytes)\n// \n// 4 xrefs:\n// > sub_180012130 @ 0x18001218e\n// > sub_180012130 @ 0x18001214c\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b841c\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:22 +0000\n// \n\nvoid __fastcall cocos2d::CCDrawNode::~CCDrawNode(cocos2d::CCDrawNode *this)\n{\n  *(_QWORD *)this = &cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCRGBAProtocol'};\n  free(*((void **)this + 45));\n  *((_QWORD *)this + 45) = 0;\n  _glewDeleteBuffers(1, (char *)this + 348);\n  *((_DWORD *)this + 87) = 0;\n  cocos2d::CCNodeRGBA::~CCNodeRGBA(this);\n}", "assembly": "; \n; cocos2d::CCDrawNode::~CCDrawNode from 0x1800120b0 to 0x180012122 (114 bytes)\n; \n; 4 xrefs:\n; > sub_180012130 @ 0x18001218e\n; > sub_180012130 @ 0x18001214c\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b841c\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:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800120b0\npush    rdi                                                            ; +0x5, 0x1800120b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800120b6\nmov     rdi, rcx                                                       ; +0xa, 0x1800120ba\nlea     rax, ??_7CCDrawNode@cocos2d@@6BCCNode@1@@; const cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCNode'} ; +0xd, 0x1800120bd\nmov     [rcx], rax                                                     ; +0x14, 0x1800120c4\nlea     rax, ??_7CCDrawNode@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x17, 0x1800120c7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x1800120ce\nmov     rcx, [rcx+168h]; Block                                         ; +0x25, 0x1800120d5\ncall    cs:__imp_free                                                  ; +0x2c, 0x1800120dc\nmov     qword ptr [rdi+168h], 0                                        ; +0x32, 0x1800120e2\nmov     rax, cs:__glewDeleteBuffers                                    ; +0x3d, 0x1800120ed\nmov     r8, [rax]                                                      ; +0x44, 0x1800120f4\nlea     rdx, [rdi+15Ch]                                                ; +0x47, 0x1800120f7\nmov     ecx, 1                                                         ; +0x4e, 0x1800120fe\ncall    r8                                                             ; +0x53, 0x180012103\nmov     dword ptr [rdi+15Ch], 0                                        ; +0x56, 0x180012106\nmov     rcx, rdi; this                                                 ; +0x60, 0x180012110\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x63, 0x180012113\nadd     rsp, 20h                                                       ; +0x68, 0x180012118\npop     rdi                                                            ; +0x6c, 0x18001211c\njmp     ??1CCNodeRGBA@cocos2d@@UEAA@XZ; cocos2d::CCNodeRGBA::~CCNodeRGBA(void) ; +0x6d, 0x18001211d", "xrefs": ["sub_180012130 @ 0x18001218e", "sub_180012130 @ 0x18001214c", "<???> @ 0x18014cf68", "<???> @ 0x1801b841c"], "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"}