//
// CreatorLayer::onMultiplayer from 0x493b60 to 0x493d28 (456 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:39 +0000
//
int __fastcall CreatorLayer::onMultiplayer(CreatorLayer *this, cocos2d::CCObject *a2)
{
char *v3; // r1
int v4; // r6
DialogLayer *v5; // r0
int v6; // r2
DialogLayer *v7; // r6
int v8; // r3
int v10; // [sp+4h] [bp-3Ch]
int v11[3]; // [sp+Ch] [bp-34h] BYREF
int v12[3]; // [sp+18h] [bp-28h] BYREF
int v13[3]; // [sp+24h] [bp-1Ch] BYREF
int v14[3]; // [sp+30h] [bp-10h] BYREF
memset(v11, 0, sizeof(v11));
std::string::__init(v11, "Versus mode has been delayed,\nbut it's in the works!", 0x3Cu);
memset(v12, 0, sizeof(v12));
std::string::__init(v12, "The Keymaster", 0xDu);
switch ( *((_DWORD *)this + 89) )
{
case 1:
v3 = "Yea... It's still delayed.";
goto LABEL_3;
case 2:
std::string::assign(v11, "I blame RobTop.");
goto LABEL_5;
case 3:
v3 = "Who else could we blame?\nWe're not even real.";
goto LABEL_3;
case 4:
std::string::assign(v11, "Speak for yourself I'm real!");
std::string::assign(v12, "Scratch");
v4 = 14;
goto LABEL_16;
case 5:
v3 = "Yea, a real pain in the...";
goto LABEL_3;
case 6:
std::string::assign(v11, "You're just mad because you don't have a shop.");
std::string::assign(v12, "Scratch");
v4 = 26;
goto LABEL_16;
case 7:
std::string::assign(v11, "You have a shop?");
v4 = 4;
goto LABEL_16;
case 8:
std::string::assign(v11, "I HAVE SAID TOO MUCH!\nQUICKLY TO THE CHOPPER!");
LABEL_5:
std::string::assign(v12, "Scratch");
v4 = 10;
goto LABEL_16;
case 9:
v3 = "You don't have a chop...";
LABEL_3:
std::string::assign(v11, v3);
goto LABEL_15;
case 0xA:
std::string::assign(v11, "...");
std::string::assign(v12, "Scratch");
v4 = 52;
goto LABEL_16;
case 0xB:
std::string::assign(v11, ".....");
v4 = 17;
goto LABEL_16;
default:
LABEL_15:
v4 = 2;
LABEL_16:
std::string::basic_string(v13, (int)v12);
std::string::basic_string(v14, (int)v11);
LOWORD(v10) = -1;
BYTE2(v10) = -1;
v5 = (DialogLayer *)DialogObject::create(v13, v14, v4, 1065353216, 0, v10);
v7 = (DialogLayer *)DialogLayer::create(v5, (DialogObject *)((char *)&dword_0 + 2), v6);
std::string::~string((int)v14);
std::string::~string((int)v13);
(*(void (__fastcall **)(CreatorLayer *, DialogLayer *, int))(*(_DWORD *)this + 232))(this, v7, 100);
DialogLayer::updateChatPlacement(v7, 0);
DialogLayer::animateInRandomSide(v7);
v8 = *((_DWORD *)this + 89) + 1;
if ( v8 > 11 )
v8 = 0;
*((_DWORD *)this + 89) = v8;
std::string::~string((int)v12);
return std::string::~string((int)v11);
}
}