//
// cocos2d::CCBool::create from 0x5ad878 to 0x5ad8a0 (40 bytes)
//
// 7 xrefs:
// > cocos2d::CCConfiguration::init @ 0x5ad942
// > cocos2d::CCConfiguration::init @ 0x5ad96a
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x5adc10
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x5adc3c
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x5adc84
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x5adccc
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x5add12
//
// 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
//
int __fastcall cocos2d::CCBool::create(cocos2d::CCBool *this, bool a2)
{
char v2; // r5
int v3; // r4
v2 = (char)this;
v3 = operator new(0x38u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v3);
*(_BYTE *)(v3 + 52) = v2;
*(_DWORD *)v3 = &off_A9EB40;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}