//
// GJGameLevel::lengthKeyToString from 0x80782c to 0x80798c (352 bytes)
//
// 7 xrefs:
// > LevelCell::loadLocalLevelCell @ 0x73cdb8
// > LevelCell::loadCustomLevelCell @ 0x7467b4
// > LevelSearchLayer::init @ 0x7e3b2c
// > LevelInfoLayer::updateLabelValues @ 0x7e8664
// > EditLevelLayer::setupLevelInfo @ 0x7ef9d0
// > EditorPauseLayer::init @ 0x8b7514
// > ??> @ 0xf0040
//
// 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:46 +0000
//
__int64 *__usercall GJGameLevel::lengthKeyToString@(__int64 *__return_ptr a1@, GJGameLevel *this@)
{
__int64 *result; // x0
switch ( (int)this )
{
case 0:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "Tiny", 4u);
result = a1;
break;
case 1:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "Short", 5u);
result = a1;
break;
case 2:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "Medium", 6u);
result = a1;
break;
case 3:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "Long", 4u);
result = a1;
break;
case 5:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "Plat.", 5u);
result = a1;
break;
default:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, "XL", 2u);
result = a1;
break;
}
return result;
}