{"type": "func", "start": 6443130384, "end": 6443130463, "name": "cocos2d::CCTexture2D::setAliasTexParameters", "pseudocode": "// \n// cocos2d::CCTexture2D::setAliasTexParameters from 0x1800a5e10 to 0x1800a5e5f (79 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800601b4\n// > cocos2d::CCTMXLayer::setupTiles @ 0x1800ad2bd\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7c98\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::CCTexture2D::setAliasTexParameters(cocos2d::CCTexture2D *this)\n{\n  GLint v2; // r8d\n\n  cocos2d::ccGLBindTexture2D((cocos2d *)this->m_uName);\n  v2 = 9728;\n  if ( this->m_bHasMipmaps )\n    v2 = 9984;\n  glTexParameteri(0xDE1u, 0x2801u, v2);\n  glTexParameteri(0xDE1u, 0x2800u, 9728);\n}", "assembly": "; \n; cocos2d::CCTexture2D::setAliasTexParameters from 0x1800a5e10 to 0x1800a5e5f (79 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800601b4\n; > cocos2d::CCTMXLayer::setupTiles @ 0x1800ad2bd\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7c98\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\npush    rbx                                                            ; +0x0, 0x1800a5e10\nsub     rsp, 20h                                                       ; +0x2, 0x1800a5e12\nmov     rbx, rcx                                                       ; +0x6, 0x1800a5e16\nmov     ecx, [rcx+48h]; this                                           ; +0x9, 0x1800a5e19\ncall    ?ccGLBindTexture2D@cocos2d@@YAXI@Z; cocos2d::ccGLBindTexture2D(uint) ; +0xc, 0x1800a5e1c\ncmp     byte ptr [rbx+5Dh], 0                                          ; +0x11, 0x1800a5e21\nmov     edx, 2801h; pname                                              ; +0x15, 0x1800a5e25\nmov     ecx, 0DE1h; target                                             ; +0x1a, 0x1800a5e2a\nmov     r8d, 2600h                                                     ; +0x1f, 0x1800a5e2f\njz      short loc_1800A5E3D                                            ; +0x25, 0x1800a5e35\nmov     r8d, 2700h; param                                              ; +0x27, 0x1800a5e37\ncall    cs:glTexParameteri                                             ; +0x2d, 0x1800a5e3d\nmov     edx, 2800h                                                     ; +0x33, 0x1800a5e43\nmov     ecx, 0DE1h                                                     ; +0x38, 0x1800a5e48\nmov     r8d, 2600h                                                     ; +0x3d, 0x1800a5e4d\nadd     rsp, 20h                                                       ; +0x43, 0x1800a5e53\npop     rbx                                                            ; +0x47, 0x1800a5e57\njmp     cs:glTexParameteri                                             ; +0x48, 0x1800a5e58", "xrefs": ["cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800601b4", "cocos2d::CCTMXLayer::setupTiles @ 0x1800ad2bd", "<???> @ 0x1801438a8", "<???> @ 0x1801b7c98"], "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"}