//
// CreatorLayer::onOnlyFullVersion from 0x100298c50 to 0x100298dd6 (390 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 __fastcall CreatorLayer::onOnlyFullVersion(CreatorLayer *a1, cocos2d::CCObject *a2)
{
DialogObject *v2; // rax
DialogLayer *v3; // r14
__int128 v4; // [rsp+0h] [rbp-60h] BYREF
void *__p; // [rsp+10h] [rbp-50h]
std::string v6; // [rsp+20h] [rbp-40h] BYREF
char v7; // [rsp+38h] [rbp-28h] BYREF
void *v8[4]; // [rsp+39h] [rbp-27h] BYREF
v6.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x50u);
v6.__r_.__value_.__r.__words[0] = 81;
v6.__r_.__value_.__l.__size_ = 76;
strcpy(v6.__r_.__value_.__l.__data_, "That is only available in the full version of Geometry Dash.");
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 2 )
{
std::string::assign(&v6, "That is only available in the full version of Geometry Dash 2.2.");
v7 = 26;
strcpy((char *)v8, "The Keymaster");
if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) == 0 )
{
__p = v6.__r_.__value_.__l.__data_;
v4 = *(_OWORD *)&v6.__r_.__value_.__l.0;
goto LABEL_6;
}
}
else
{
v7 = 26;
strcpy((char *)v8, "The Keymaster");
}
sub_100006B70(&v4, v6.__r_.__value_.__l.__data_, v6.__r_.__value_.__l.__size_, 2.316340039414793e-152);
LABEL_6:
v2 = (DialogObject *)DialogObject::create(&v7, &v4, 2, 0, 0xFFFFFF, 1.0);
v3 = DialogLayer::create(v2, 2);
if ( (v4 & 1) != 0 )
operator delete(__p);
if ( (v7 & 1) != 0 )
operator delete(*(void **)((char *)&v8[1] + 7));
((void (__fastcall *)(CreatorLayer *, DialogLayer *, __int64))a1->addChild_0)(a1, v3, 100);
DialogLayer::updateChatPlacement(v3, Center);
DialogLayer::animateInRandomSide(v3);
if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v6.__r_.__value_.__l.__data_);
}