{"type": "func", "start": 6443021120, "end": 6443021167, "name": "cocos2d::ccGLDeleteTexture", "pseudocode": "// \n// cocos2d::ccGLDeleteTexture from 0x18008b340 to 0x18008b36f (47 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a8728\n// > sub_1800A87A0 @ 0x1800a8819\n// > cocos2d::CCTexture2D::initWithData @ 0x1800a91c7\n// > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a9900\n// > sub_1800AD6B0 @ 0x1800ad6dc\n// > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad752\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfb74\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:22:06 +0000\n// \n\nvoid __fastcall cocos2d::ccGLDeleteTexture(cocos2d *this)\n{\n  GLuint textures; // [rsp+30h] [rbp+8h] BYREF\n\n  textures = (unsigned int)this;\n  if ( (_DWORD)qword_1801ACFC0 == (_DWORD)this )\n    LODWORD(qword_1801ACFC0) = -1;\n  glDeleteTextures(1, &textures);\n}", "assembly": "; \n; cocos2d::ccGLDeleteTexture from 0x18008b340 to 0x18008b36f (47 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a8728\n; > sub_1800A87A0 @ 0x1800a8819\n; > cocos2d::CCTexture2D::initWithData @ 0x1800a91c7\n; > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a9900\n; > sub_1800AD6B0 @ 0x1800ad6dc\n; > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad752\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfb74\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:22:06 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x18008b340\ncmp     dword ptr cs:qword_1801ACFC0, ecx                              ; +0x4, 0x18008b344\nmov     [rsp+28h+textures], ecx                                        ; +0xa, 0x18008b34a\njnz     short loc_18008B35A                                            ; +0xe, 0x18008b34e\nmov     dword ptr cs:qword_1801ACFC0, 0FFFFFFFFh                       ; +0x10, 0x18008b350\nlea     rdx, [rsp+28h+textures]; textures                              ; +0x1a, 0x18008b35a\nmov     ecx, 1; n                                                      ; +0x1f, 0x18008b35f\ncall    cs:glDeleteTextures                                            ; +0x24, 0x18008b364\nadd     rsp, 28h                                                       ; +0x2a, 0x18008b36a\nretn                                                                   ; +0x2e, 0x18008b36e", "xrefs": ["cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a8728", "sub_1800A87A0 @ 0x1800a8819", "cocos2d::CCTexture2D::initWithData @ 0x1800a91c7", "cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a9900", "sub_1800AD6B0 @ 0x1800ad6dc", "cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad752", "<???> @ 0x18014cf68", "<???> @ 0x1801bfb74"], "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"}