{"type": "func", "start": 6443021168, "end": 6443021218, "name": "cocos2d::ccGLDeleteTextureN", "pseudocode": "// \n// cocos2d::ccGLDeleteTextureN from 0x18008b370 to 0x18008b3a2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfb80\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::ccGLDeleteTextureN(cocos2d *this, GLuint a2)\n{\n  GLuint textures; // [rsp+38h] [rbp+10h] BYREF\n\n  textures = a2;\n  if ( *((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) == a2 )\n    *((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) = -1;\n  glDeleteTextures(1, &textures);\n}", "assembly": "; \n; cocos2d::ccGLDeleteTextureN from 0x18008b370 to 0x18008b3a2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfb80\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; \nmov     [rsp+textures], edx                                            ; +0x0, 0x18008b370\nsub     rsp, 28h                                                       ; +0x4, 0x18008b374\nmov     eax, ecx                                                       ; +0x8, 0x18008b378\nlea     rcx, qword_1801ACFC0                                           ; +0xa, 0x18008b37a\ncmp     [rcx+rax*4], edx                                               ; +0x11, 0x18008b381\njnz     short loc_18008B38D                                            ; +0x14, 0x18008b384\nmov     dword ptr [rcx+rax*4], 0FFFFFFFFh                              ; +0x16, 0x18008b386\nlea     rdx, [rsp+28h+textures]; textures                              ; +0x1d, 0x18008b38d\nmov     ecx, 1; n                                                      ; +0x22, 0x18008b392\ncall    cs:glDeleteTextures                                            ; +0x27, 0x18008b397\nadd     rsp, 28h                                                       ; +0x2d, 0x18008b39d\nretn                                                                   ; +0x31, 0x18008b3a1", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfb80"], "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"}