{"type": "func", "start": 6443008368, "end": 6443008415, "name": "cocos2d::ccGLDeleteTexture", "pseudocode": "// \n// cocos2d::ccGLDeleteTexture from 0x180088170 to 0x18008819f (47 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a4c68\n// > sub_1800A4CE0 @ 0x1800a4d59\n// > cocos2d::CCTexture2D::initWithData @ 0x1800a56c5\n// > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a5df0\n// > sub_1800A9E30 @ 0x1800a9e5c\n// > sub_1800A9E90 @ 0x1800a9ed2\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b58a4\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::ccGLDeleteTexture(cocos2d *this)\n{\n  GLuint textures; // [rsp+30h] [rbp+8h] BYREF\n\n  textures = (unsigned int)this;\n  if ( (_DWORD)qword_1801A2FF0 == (_DWORD)this )\n    LODWORD(qword_1801A2FF0) = -1;\n  glDeleteTextures(1, &textures);\n}", "assembly": "; \n; cocos2d::ccGLDeleteTexture from 0x180088170 to 0x18008819f (47 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a4c68\n; > sub_1800A4CE0 @ 0x1800a4d59\n; > cocos2d::CCTexture2D::initWithData @ 0x1800a56c5\n; > cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a5df0\n; > sub_1800A9E30 @ 0x1800a9e5c\n; > sub_1800A9E90 @ 0x1800a9ed2\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b58a4\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\nsub     rsp, 28h                                                       ; +0x0, 0x180088170\ncmp     dword ptr cs:qword_1801A2FF0, ecx                              ; +0x4, 0x180088174\nmov     [rsp+28h+textures], ecx                                        ; +0xa, 0x18008817a\njnz     short loc_18008818A                                            ; +0xe, 0x18008817e\nmov     dword ptr cs:qword_1801A2FF0, 0FFFFFFFFh                       ; +0x10, 0x180088180\nlea     rdx, [rsp+28h+textures]; textures                              ; +0x1a, 0x18008818a\nmov     ecx, 1; n                                                      ; +0x1f, 0x18008818f\ncall    cs:glDeleteTextures                                            ; +0x24, 0x180088194\nadd     rsp, 28h                                                       ; +0x2a, 0x18008819a\nretn                                                                   ; +0x2e, 0x18008819e", "xrefs": ["cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a4c68", "sub_1800A4CE0 @ 0x1800a4d59", "cocos2d::CCTexture2D::initWithData @ 0x1800a56c5", "cocos2d::CCTexture2D::releaseGLTexture @ 0x1800a5df0", "sub_1800A9E30 @ 0x1800a9e5c", "sub_1800A9E90 @ 0x1800a9ed2", "<???> @ 0x1801438a8", "<???> @ 0x1801b58a4"], "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"}