{"type": "func", "start": 6443020784, "end": 6443020853, "name": "cocos2d::ccGLBindTexture2DN", "pseudocode": "// \n// cocos2d::ccGLBindTexture2DN from 0x18008b1f0 to 0x18008b235 (69 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfb44\n// > <???> @ 0x1801bfb50\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::ccGLBindTexture2DN(cocos2d *this, GLuint a2)\n{\n  if ( *((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) != a2 )\n  {\n    *((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) = a2;\n    _glewActiveTexture((unsigned int)((_DWORD)this + 33984));\n    glBindTexture(0xDE1u, a2);\n  }\n}", "assembly": "; \n; cocos2d::ccGLBindTexture2DN from 0x18008b1f0 to 0x18008b235 (69 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfb44\n; > <???> @ 0x1801bfb50\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; \npush    rbx                                                            ; +0x0, 0x18008b1f0\nsub     rsp, 20h                                                       ; +0x2, 0x18008b1f2\nmov     ebx, edx                                                       ; +0x6, 0x18008b1f6\nmov     eax, ecx                                                       ; +0x8, 0x18008b1f8\nlea     rdx, qword_1801ACFC0                                           ; +0xa, 0x18008b1fa\ncmp     [rdx+rax*4], ebx                                               ; +0x11, 0x18008b201\njz      short loc_18008B22F                                            ; +0x14, 0x18008b204\nmov     [rdx+rax*4], ebx                                               ; +0x16, 0x18008b206\nadd     ecx, 84C0h                                                     ; +0x19, 0x18008b209\nmov     rax, cs:__glewActiveTexture                                    ; +0x1f, 0x18008b20f\nmov     r8, [rax]                                                      ; +0x26, 0x18008b216\ncall    r8                                                             ; +0x29, 0x18008b219\nmov     edx, ebx                                                       ; +0x2c, 0x18008b21c\nmov     ecx, 0DE1h                                                     ; +0x2e, 0x18008b21e\nadd     rsp, 20h                                                       ; +0x33, 0x18008b223\npop     rbx                                                            ; +0x37, 0x18008b227\njmp     cs:glBindTexture                                               ; +0x38, 0x18008b228\nadd     rsp, 20h                                                       ; +0x3f, 0x18008b22f\npop     rbx                                                            ; +0x43, 0x18008b233\nretn                                                                   ; +0x44, 0x18008b234", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfb44", "<???> @ 0x1801bfb50"], "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"}