// // CreatorLayer::onMultiplayer from 0x7dbf68 to 0x7dc2f8 (912 bytes) // // 3 xrefs: // > @ 0xacf48 // > CreatorLayer::init @ 0x7dd530 // > @ 0x1544e78 // // This function is hookable on this platform (idp: arm, 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 12:54:24 +0000 // __int64 __fastcall CreatorLayer::onMultiplayer(CreatorLayer *this, cocos2d::CCObject *a2) { unsigned int v3; // w24 DialogLayer *v4; // x0 int v5; // w2 DialogLayer *v6; // x21 char v7; // w1 int v8; // w0 __int64 v10; // [xsp+48h] [xbp+48h] BYREF size_t v11; // [xsp+50h] [xbp+50h] void *v12; // [xsp+58h] [xbp+58h] __int64 v13; // [xsp+60h] [xbp+60h] BYREF size_t v14; // [xsp+68h] [xbp+68h] void *v15; // [xsp+70h] [xbp+70h] __int64 v16; // [xsp+78h] [xbp+78h] BYREF size_t v17; // [xsp+80h] [xbp+80h] void *v18; // [xsp+88h] [xbp+88h] __int64 v19; // [xsp+90h] [xbp+90h] BYREF size_t v20; // [xsp+98h] [xbp+98h] void *v21; // [xsp+A0h] [xbp+A0h] v10 = 0; v11 = 0; v12 = nullptr; std::string::__init(&v10, "Versus mode has been delayed,\nbut it's in the works!", 0x3Cu); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "The Keymaster", 0xDu); switch ( *((_DWORD *)this + 121) ) { case 1: std::string::assign(&v10, "Yea... It's still delayed."); goto LABEL_2; case 2: std::string::assign(&v10, "I blame RobTop."); goto LABEL_25; case 3: std::string::assign(&v10, "Who else could we blame?\nWe're not even real."); goto LABEL_2; case 4: std::string::assign(&v10, "Speak for yourself I'm real!"); std::string::assign(&v13, "Scratch"); v3 = 14; goto LABEL_3; case 5: std::string::assign(&v10, "Yea, a real pain in the..."); goto LABEL_2; case 6: std::string::assign(&v10, "You're just mad because you don't have a shop."); std::string::assign(&v13, "Scratch"); v3 = 26; goto LABEL_3; case 7: std::string::assign(&v10, "You have a shop?"); v3 = 4; goto LABEL_3; case 8: std::string::assign(&v10, "I HAVE SAID TOO MUCH!\nQUICKLY TO THE CHOPPER!"); LABEL_25: std::string::assign(&v13, "Scratch"); v3 = 10; goto LABEL_3; case 9: std::string::assign(&v10, "You don't have a chop..."); goto LABEL_2; case 0xA: std::string::assign(&v10, "..."); std::string::assign(&v13, "Scratch"); v3 = 52; goto LABEL_3; case 0xB: std::string::assign(&v10, "....."); v3 = 17; goto LABEL_3; default: LABEL_2: v3 = 2; LABEL_3: v16 = 0; v17 = 0; v18 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init(&v16, v15, v14); } else { v18 = v15; v16 = v13; v17 = v14; } v19 = 0; v20 = 0; v21 = nullptr; if ( (v10 & 1) != 0 ) { std::string::__init(&v19, v12, v11); } else { v21 = v12; v19 = v10; v20 = v11; } v4 = (DialogLayer *)DialogObject::create(&v16, &v19, v3, 0, 0xFFFFFF, 1.0); v6 = (DialogLayer *)DialogLayer::create(v4, (DialogObject *)((char *)&dword_0 + 2), v5); if ( (v19 & 1) != 0 ) operator delete(v21); if ( (v16 & 1) != 0 ) operator delete(v18); (*(void (__fastcall **)(CreatorLayer *, DialogLayer *, __int64))(*(_QWORD *)this + 464LL))(this, v6, 100); DialogLayer::updateChatPlacement(v6, 0); DialogLayer::animateInRandomSide(v6); v7 = v13; v8 = *((_DWORD *)this + 121) + 1; if ( v8 > 11 ) v8 = 0; *((_DWORD *)this + 121) = v8; if ( (v7 & 1) != 0 ) operator delete(v15); if ( (v10 & 1) != 0 ) operator delete(v12); return _stack_chk_guard; } }