{"type": "func", "start": 6443142272, "end": 6443142347, "name": "cocos2d::CCTexture2D::generateMipmap", "pseudocode": "// \n// cocos2d::CCTexture2D::generateMipmap from 0x1800a8c80 to 0x1800a8ccb (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c1e9c\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:16 +0000\n// \n\nvoid __fastcall cocos2d::CCTexture2D::generateMipmap(cocos2d::CCTexture2D *this)\n{\n  int v1; // ebx\n\n  v1 = *((_DWORD *)this + 16);\n  if ( v1 == (unsigned int)sub_1800992B0(v1) )\n    sub_1800992B0(*((_DWORD *)this + 17));\n  cocos2d::ccGLBindTexture2D((cocos2d *)*((unsigned int *)this + 18));\n  _glewGenerateMipmap(3553);\n  *((_BYTE *)this + 93) = 1;\n}", "assembly": "; \n; cocos2d::CCTexture2D::generateMipmap from 0x1800a8c80 to 0x1800a8ccb (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c1e9c\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:16 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a8c80\npush    rdi                                                            ; +0x5, 0x1800a8c85\nsub     rsp, 20h                                                       ; +0x6, 0x1800a8c86\nmov     ebx, [rcx+40h]                                                 ; +0xa, 0x1800a8c8a\nmov     rdi, rcx                                                       ; +0xd, 0x1800a8c8d\nmov     ecx, ebx                                                       ; +0x10, 0x1800a8c90\ncall    sub_1800992B0                                                  ; +0x12, 0x1800a8c92\ncmp     ebx, eax                                                       ; +0x17, 0x1800a8c97\njnz     short loc_1800A8CA3                                            ; +0x19, 0x1800a8c99\nmov     ecx, [rdi+44h]                                                 ; +0x1b, 0x1800a8c9b\ncall    sub_1800992B0                                                  ; +0x1e, 0x1800a8c9e\nmov     ecx, [rdi+48h]; this                                           ; +0x23, 0x1800a8ca3\ncall    ?ccGLBindTexture2D@cocos2d@@YAXI@Z; cocos2d::ccGLBindTexture2D(uint) ; +0x26, 0x1800a8ca6\nmov     rax, cs:__glewGenerateMipmap                                   ; +0x2b, 0x1800a8cab\nmov     ecx, 0DE1h                                                     ; +0x32, 0x1800a8cb2\nmov     rdx, [rax]                                                     ; +0x37, 0x1800a8cb7\ncall    rdx                                                            ; +0x3a, 0x1800a8cba\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3c, 0x1800a8cbc\nmov     byte ptr [rdi+5Dh], 1                                          ; +0x41, 0x1800a8cc1\nadd     rsp, 20h                                                       ; +0x45, 0x1800a8cc5\npop     rdi                                                            ; +0x49, 0x1800a8cc9\nretn                                                                   ; +0x4a, 0x1800a8cca", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c1e9c"], "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"}