//
// sub_10030D410 from 0x10030d410 to 0x10030d5e8 (472 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
//
// positive sp value has been detected, the output may be wrong!
void __fastcall sub_10030D410(
int a1,
int a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
__int64 a9,
__int64 a10,
void *__p,
__int64 a12,
__int64 a13,
__int64 a14,
__int64 a15,
__int64 a16,
__int64 a17)
{
_QWORD *v17; // x19
GameManager *v18; // x0
const char *v19; // x8
cocos2d::CCString *v20; // x0
char *CString; // x0
__int128 v22; // [xsp-40h] [xbp-40h] BYREF
char *longStorage; // [xsp-30h] [xbp-30h]
v18 = GameManager::sharedState();
if ( v18->m_playerName.m_data.m_short.shortStorage.__elems_[22] < 0 )
{
sub_1000097D0(&v22, (void *)v18->m_playerName.m_data.m_long.capacitym1, v18->m_playerName.m_data.m_long.size);
}
else
{
v22 = *(_OWORD *)&v18->m_playerName.m_data.m_short.sizex2;
longStorage = v18->m_playerName.m_data.m_long.longStorage;
}
v19 = (const char *)&v22;
if ( SHIBYTE(longStorage) < 0 )
v19 = (const char *)v22;
v20 = (cocos2d::CCString *)sub_100268F4C("%s the sneaky one...", v19);
CString = (char *)cocos2d::CCString::getCString(v20);
sub_100009900(v17, CString);
if ( SHIBYTE(longStorage) < 0 )
operator delete((void *)v22);
}