//
// cocos2d::CCConfiguration::checkForGLExtension from 0xd211c8 to 0xd2120c (68 bytes)
//
// 7 xrefs:
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0xd22044
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0xd22154
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0xd221f4
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0xd22294
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0xd6a940
// > cocos2d::CCRenderTexture::begin @ 0xd6ae5c
// > ??> @ 0xfc370
//
// 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 13:07:11 +0000
//
bool __fastcall cocos2d::CCConfiguration::checkForGLExtension(__int64 a1, char *a2)
{
const char *v2; // x2
const char *v3; // x0
v2 = a2 + 1;
if ( (*a2 & 1) != 0 )
v2 = *((const char **)a2 + 2);
v3 = *(const char **)(a1 + 80);
return v3 && strstr(v3, v2) != nullptr;
}