//
// cocos2d::CCConfiguration::checkForGLExtension from 0x100324f44 to 0x100324f78 (52 bytes)
//
// 2 xrefs:
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1003c0484
// > cocos2d::CCRenderTexture::begin @ 0x1003c0890
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char *__fastcall cocos2d::CCConfiguration::checkForGLExtension(__int64 a1, const char *a2)
{
char *result; // x0
result = *(char **)(a1 + 80);
if ( result )
{
if ( a2[23] < 0 )
a2 = *(const char **)a2;
return (char *)(strstr(result, a2) != nullptr);
}
return result;
}