//
// CreatorLayer::onMultiplayer from 0x3aa584 to 0x3aa744 (448 bytes)
//
// 0 xrefs:
//
// 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
//
void CreatorLayer::onMultiplayer(CreatorLayer *a1, cocos2d::CCObject *a2)
{
char *v3; // r1
std::string v4; // r6
DialogObject *v5; // r0
DialogLayer *v6; // r6
int v7; // r3
_BYTE v8[4]; // [sp+Ch] [bp-Ch] BYREF
_BYTE v9[4]; // [sp+10h] [bp-8h] BYREF
char v10; // [sp+14h] [bp-4h] BYREF
int v11; // [sp+18h] [bp+0h] BYREF
sub_776584((int)v8, "Versus mode has been delayed,\nbut it's in the works!");
sub_776584((int)v9, "The Keymaster");
switch ( a1->m_versusDialogIndex )
{
case 1:
v3 = "Yea... It's still delayed.";
goto LABEL_3;
case 2:
sub_7753D4((int)v8, "I blame RobTop.");
goto LABEL_5;
case 3:
v3 = "Who else could we blame?\nWe're not even real.";
goto LABEL_3;
case 4:
sub_7753D4((int)v8, "Speak for yourself I'm real!");
sub_7753D4((int)v9, "Scratch");
v4.m_data.m_data = (stl::StringData::Internal *)(byte_9 + 5);
goto LABEL_16;
case 5:
v3 = "Yea, a real pain in the...";
goto LABEL_3;
case 6:
sub_7753D4((int)v8, "You're just mad because you don't have a shop.");
sub_7753D4((int)v9, "Scratch");
v4.m_data.m_data = (stl::StringData::Internal *)(&dword_18 + 2);
goto LABEL_16;
case 7:
sub_7753D4((int)v8, "You have a shop?");
v4.m_data.m_data = (stl::StringData::Internal *)byte_4;
goto LABEL_16;
case 8:
sub_7753D4((int)v8, "I HAVE SAID TOO MUCH!\nQUICKLY TO THE CHOPPER!");
LABEL_5:
sub_7753D4((int)v9, "Scratch");
v4.m_data.m_data = (stl::StringData::Internal *)(byte_9 + 1);
goto LABEL_16;
case 9:
v3 = "You don't have a chop...";
LABEL_3:
sub_7753D4((int)v8, v3);
goto LABEL_15;
case 0xA:
sub_7753D4((int)v8, "...");
sub_7753D4((int)v9, "Scratch");
v4.m_data.m_data = (stl::StringData::Internal *)&dword_34;
goto LABEL_16;
case 0xB:
sub_7753D4((int)v8, ".....");
v4.m_data.m_data = (stl::StringData::Internal *)(&word_10 + 1);
goto LABEL_16;
default:
LABEL_15:
v4.m_data.m_data = (stl::StringData::Internal *)(&dword_0 + 2);
LABEL_16:
sub_775C20(&v10, v9);
sub_775C20(&v11, v8);
v5 = (DialogObject *)DialogObject::create((DialogObject *)&v10, (std::string)&v11, v4, 1065353216, 0.0, 255);
v6 = DialogLayer::create(v5, (int)&dword_0 + 2);
sub_774008(&v11);
sub_774008(&v10);
a1->addChild_0(a1, v6, 100);
DialogLayer::updateChatPlacement(v6, Center);
DialogLayer::animateInRandomSide(v6);
v7 = a1->m_versusDialogIndex + 1;
if ( v7 > 11 )
v7 = 0;
a1->m_versusDialogIndex = v7;
sub_774008(v9);
sub_774008(v8);
return;
}
}