//
// cocos2d::CCBool::create from 0x1800bfcb0 to 0x1800bfd09 (89 bytes)
//
// 6 xrefs:
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c063c
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c06fb
// > cocos2d::CCConfiguration::gatherGPUInfo @ 0x1800c0776
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3330
// > ??> @ 0x1801c333c
//
// This function is hookable on this platform (idp: pc, 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:22:25 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCBool *__fastcall cocos2d::CCBool::create(char a1)
{
cocos2d::CCObject *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);
v3 = v2;
if ( v2 )
{
cocos2d::CCObject::CCObject(v2);
*(_QWORD *)v3 = &cocos2d::CCBool::`vftable';
*((_BYTE *)v3 + 56) = a1;
}
else
{
v3 = nullptr;
}
if ( v3 )
cocos2d::CCObject::autorelease(v3);
return v3;
}