//
// cocos2d::CCConfiguration::checkForGLExtension from 0x10051ad50 to 0x10051ad7b (43 bytes)
//
// 2 xrefs:
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1006c82b9
// > cocos2d::CCRenderTexture::begin @ 0x1006c8754
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:31:41 +0000
//
bool __fastcall cocos2d::CCConfiguration::checkForGLExtension(__int64 a1, __int64 a2)
{
char *v2; // rdi
const char *v3; // rsi
v2 = *(char **)(a1 + 80);
if ( !v2 )
return 0;
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(const char **)(a2 + 16);
else
v3 = (const char *)(a2 + 1);
return strstr(v2, v3) != nullptr;
}