//
// sub_140077D60 from 0x140077d60 to 0x140077ddd (125 bytes)
//
// 3 xrefs:
// > AppDelegate::setupGLView @ 0x140082673
// > WinMain @ 0x1404cfa5d
// > ??> @ 0x1406c65dc
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 sub_140077D60()
{
__int64 result; // rax
cocos2d::CCNode *v1; // [rsp+30h] [rbp+8h]
result = qword_1406C2EA8;
if ( !qword_1406C2EA8 )
{
v1 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v1);
v1->__vftable = (cocos2d::CCNode_vtbl *)&GlobalSettingsManager::`vftable';
LOBYTE(v1[1].__vftable) = 0;
qword_1406C2EA8 = (__int64)v1;
cocos2d::CCNode::init(v1);
return qword_1406C2EA8;
}
return result;
}