//
// cocos2d::CCConfiguration::checkForGLExtension from 0x1800bc510 to 0x1800bc550 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCRenderTexture::begin @ 0x18005f55b
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x180060009
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9078
//
// 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
//
_BOOL8 __fastcall cocos2d::CCConfiguration::checkForGLExtension(__int64 a1, const char *a2)
{
const char *v2; // rcx
if ( *((_QWORD *)a2 + 3) > 0xFu )
a2 = *(const char **)a2;
v2 = *(const char **)(a1 + 80);
return v2 && strstr(v2, a2) != nullptr;
}