//
// cocos2d::CCConfiguration::checkForGLExtension from 0x7b3cd0 to 0x7b3cec (28 bytes)
//
// 6 xrefs:
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x7b44c6
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x7b454c
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x7b45a0
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x7b45f4
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x7e06cc
// > cocos2d::CCRenderTexture::begin @ 0x7e0a5a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:09 +0000
//
const char *__fastcall cocos2d::CCConfiguration::checkForGLExtension(int a1, int a2)
{
const char *result; // r0
const char *v3; // r1
result = *(const char **)(a1 + 76);
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(const char **)(a2 + 8);
else
v3 = (const char *)(a2 + 1);
if ( result )
return (const char *)(strstr(result, v3) != nullptr);
return result;
}