{"type": "func", "start": 6442590960, "end": 6442591020, "name": "cocos2d::CCGridBase::~CCGridBase", "pseudocode": "// \n// cocos2d::CCGridBase::~CCGridBase from 0x1800222f0 to 0x18002232c (60 bytes)\n// \n// 3 xrefs:\n// > sub_180022480 @ 0x180022499\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aef20\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::CCGridBase::~CCGridBase(cocos2d::CCGridBase *this)\n{\n  cocos2d::CCTexture2D *m_pTexture; // rcx\n  cocos2d::CCGrabber *m_pGrabber; // rcx\n\n  this->__vftable = (cocos2d::CCGridBase_vtbl *)&cocos2d::CCGridBase::`vftable';\n  m_pTexture = this->m_pTexture;\n  if ( m_pTexture )\n    cocos2d::CCObject::release(m_pTexture);\n  m_pGrabber = this->m_pGrabber;\n  if ( m_pGrabber )\n    cocos2d::CCObject::release(m_pGrabber);\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCGridBase::~CCGridBase from 0x1800222f0 to 0x18002232c (60 bytes)\n; \n; 3 xrefs:\n; > sub_180022480 @ 0x180022499\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aef20\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\npush    rbx                                                            ; +0x0, 0x1800222f0\nsub     rsp, 20h                                                       ; +0x2, 0x1800222f2\nmov     rbx, rcx                                                       ; +0x6, 0x1800222f6\nlea     rax, ??_7CCGridBase@cocos2d@@6B@; const cocos2d::CCGridBase::`vftable' ; +0x9, 0x1800222f9\nmov     [rcx], rax                                                     ; +0x10, 0x180022300\nmov     rcx, [rcx+48h]; this                                           ; +0x13, 0x180022303\ntest    rcx, rcx                                                       ; +0x17, 0x180022307\njz      short loc_180022311                                            ; +0x1a, 0x18002230a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1c, 0x18002230c\nmov     rcx, [rbx+58h]; this                                           ; +0x21, 0x180022311\ntest    rcx, rcx                                                       ; +0x25, 0x180022315\njz      short loc_18002231F                                            ; +0x28, 0x180022318\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2a, 0x18002231a\nmov     rcx, rbx; this                                                 ; +0x2f, 0x18002231f\nadd     rsp, 20h                                                       ; +0x32, 0x180022322\npop     rbx                                                            ; +0x36, 0x180022326\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x37, 0x180022327", "xrefs": ["sub_180022480 @ 0x180022499", "<???> @ 0x1801438a8", "<???> @ 0x1801aef20"], "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"}