//
// sub_14008AFE0 from 0x14008afe0 to 0x14008b05d (125 bytes)
//
// 3 xrefs:
// > AppDelegate::setupGLView @ 0x140097d9a
// > WinMain @ 0x140674c03
// > ??> @ 0x1409127d0
//
// 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:25:58 +0000
//
// Hidden C++ exception states: #wind=1
__int64 sub_14008AFE0()
{
__int64 result; // rax
cocos2d::CCNode *v1; // [rsp+30h] [rbp+8h]
result = qword_14090BF80;
if ( !qword_14090BF80 )
{
v1 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v1);
*(_QWORD *)v1 = &GlobalSettingsManager::`vftable';
*((_BYTE *)v1 + 320) = 0;
qword_14090BF80 = (__int64)v1;
cocos2d::CCNode::init(v1);
return qword_14090BF80;
}
return result;
}