//
// sub_14006D160 from 0x14006d160 to 0x14006d1e8 (136 bytes)
//
// 6 xrefs:
// > sub_14006CEA0 @ 0x14006ceb9
// > sub_14006CEC0 @ 0x14006d04d
// > GameToolbox::extractServerPopup @ 0x14006d9a8
// > ??> @ 0x1408896b0
// > ??> @ 0x1408896c0
// > ??> @ 0x140911600
//
// 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
//
void __fastcall sub_14006D160(__int64 a1)
{
struct cocos2d::CCFiniteTimeAction *v2; // rbx
__int64 v3; // rax
struct cocos2d::CCAction *v4; // rbx
__int64 v5; // rax
cocos2d::CCActionManager *v6; // rax
if ( !*(_BYTE *)(a1 + 368) )
{
if ( *(_QWORD *)(a1 + 360) )
{
*(_BYTE *)(a1 + 368) = 1;
v2 = cocos2d::CCDelayTime::create(0.0);
v3 = cocos2d::CCCallFunc::create(a1, sub_14006CEC0);
v4 = cocos2d::CCSequence::create(v2, v3, 0);
v5 = cocos2d::CCDirector::sharedDirector();
v6 = (cocos2d::CCActionManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 128LL))(v5);
cocos2d::CCActionManager::addAction(v6, v4, (struct cocos2d::CCNode *)a1, 0);
}
}
}