//
// sub_1004946E0 from 0x1004946e0 to 0x100494760 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100943dc8
//
// 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
//
cocos2d::CCAction *__fastcall sub_1004946E0(__int64 a1)
{
char v1; // al
__int64 v2; // r15
cocos2d::CCString *v3; // rax
const char *CString; // rax
cocos2d::CCDelayTime *v5; // r14
cocos2d::CCCallFunc *v6; // rax
cocos2d::CCSequence *v7; // rax
v2 = *(_QWORD *)(a1 + 48);
v3 = (cocos2d::CCString *)sub_1007AB580("MPLobbyLayer::joinLobbyFailed: %i - %i", v1);
CString = cocos2d::CCString::getCString(v3);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v2 + 912LL))(v2, CString);
v5 = cocos2d::CCDelayTime::create(*(float *)(a1 + 80));
v6 = cocos2d::CCCallFunc::create(
(cocos2d::CCObject *)(a1 - 408),
(cocos2d::SEL_CallFunc)(unsigned __int64)MPLobbyLayer::onUpdateLobby);
v7 = sub_1003B5760(v5, v6, 0);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)(a1 - 408), v7);
}