{"type": "func", "start": 6443008416, "end": 6443008466, "name": "cocos2d::ccGLDeleteTextureN", "pseudocode": "// \n// cocos2d::ccGLDeleteTextureN from 0x1800881a0 to 0x1800881d2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b58b0\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::ccGLDeleteTextureN(cocos2d *this, GLuint a2)\n{\n  GLuint textures; // [rsp+38h] [rbp+10h] BYREF\n\n  textures = a2;\n  if ( *((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) == a2 )\n    *((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) = -1;\n  glDeleteTextures(1, &textures);\n}", "assembly": "; \n; cocos2d::ccGLDeleteTextureN from 0x1800881a0 to 0x1800881d2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b58b0\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\nmov     [rsp+textures], edx                                            ; +0x0, 0x1800881a0\nsub     rsp, 28h                                                       ; +0x4, 0x1800881a4\nmov     eax, ecx                                                       ; +0x8, 0x1800881a8\nlea     rcx, qword_1801A2FF0                                           ; +0xa, 0x1800881aa\ncmp     [rcx+rax*4], edx                                               ; +0x11, 0x1800881b1\njnz     short loc_1800881BD                                            ; +0x14, 0x1800881b4\nmov     dword ptr [rcx+rax*4], 0FFFFFFFFh                              ; +0x16, 0x1800881b6\nlea     rdx, [rsp+28h+textures]; textures                              ; +0x1d, 0x1800881bd\nmov     ecx, 1; n                                                      ; +0x22, 0x1800881c2\ncall    cs:glDeleteTextures                                            ; +0x27, 0x1800881c7\nadd     rsp, 28h                                                       ; +0x2d, 0x1800881cd\nretn                                                                   ; +0x31, 0x1800881d1", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b58b0"], "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"}