//
// GJPathsLayer::nameForPath from 0x6d2124 to 0x6d21d2 (174 bytes)
//
// 1 xrefs:
// > GameStatsManager::createSpecialChestItems @ 0x5283ac
//
// 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:57:03 +0000
//
GJPathsLayer *__fastcall GJPathsLayer::nameForPath(GJPathsLayer *this, int a2)
{
const char *v3; // r1
size_t v4; // r2
switch ( a2 )
{
case 1:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Fire";
*((_DWORD *)this + 2) = 0;
goto LABEL_8;
case 2:
v4 = 3;
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Ice";
*((_DWORD *)this + 2) = 0;
break;
case 3:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Poison";
*((_DWORD *)this + 2) = 0;
goto LABEL_6;
case 4:
*(_DWORD *)this = 0;
v3 = "Shadow";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_6:
v4 = 6;
break;
case 5:
*(_DWORD *)this = 0;
v3 = "Lava";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_8:
v4 = 4;
break;
case 6:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Earth";
*((_DWORD *)this + 2) = 0;
goto LABEL_14;
case 7:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Blood";
*((_DWORD *)this + 2) = 0;
goto LABEL_14;
case 8:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Metal";
*((_DWORD *)this + 2) = 0;
goto LABEL_14;
case 9:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v3 = "Light";
*((_DWORD *)this + 2) = 0;
goto LABEL_14;
case 10:
*(_DWORD *)this = 0;
v3 = "Souls";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
LABEL_14:
v4 = 5;
break;
default:
v4 = 2;
*(_DWORD *)this = 0;
v3 = "NA";
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
break;
}
std::string::__init((int *)this, v3, v4);
return this;
}