//
// cocos2d::CCConfiguration::checkForGLExtension from 0x1003c2c40 to 0x1003c2c74 (52 bytes)
//
// 2 xrefs:
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1004671b4
// > cocos2d::CCRenderTexture::begin @ 0x1004675c0
//
// This function is hookable on this platform (idp: arm, 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 11:04:03 +0000
//
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;
}