//
// sub_14006CDD0 from 0x14006cdd0 to 0x14006ce9c (204 bytes)
//
// 3 xrefs:
// > GameToolbox::extractServerPopup @ 0x14006d779
// > AppDelegate::willSwitchToScene @ 0x140098d50
// > ??> @ 0x1409115e8
//
// 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:48 +0000
//
// Hidden C++ exception states: #wind=2
__int64 sub_14006CDD0()
{
__int64 result; // rax
_QWORD *v1; // rax
cocos2d::CCNode *v2; // [rsp+30h] [rbp+8h]
result = qword_14090C0A0;
if ( !qword_14090C0A0 )
{
v2 = (cocos2d::CCNode *)operator new(0x188u);
cocos2d::CCNode::CCNode(v2);
*(_QWORD *)v2 = &`anonymous namespace'::ServerPopupQueue::`vftable';
*((_QWORD *)v2 + 40) = &`anonymous namespace'::ServerPopupQueue::`vftable';
*((_QWORD *)v2 + 41) = 0;
*((_QWORD *)v2 + 42) = 0;
*((_QWORD *)v2 + 43) = 0;
*((_QWORD *)v2 + 44) = 0;
*((_QWORD *)v2 + 45) = 0;
v1 = operator new(0x10u);
v1[1] = 0;
*((_QWORD *)v2 + 41) = v1;
*v1 = (char *)v2 + 328;
*((_BYTE *)v2 + 368) = 0;
*((_QWORD *)v2 + 47) = 0;
*((_QWORD *)v2 + 48) = 0;
qword_14090C0A0 = (__int64)v2;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v2 + 72LL))(v2);
cocos2d::CCObject::retain((cocos2d::CCObject *)qword_14090C0A0);
return qword_14090C0A0;
}
return result;
}