//
// StatsObject::init from 0x10010f854 to 0x10010f8ac (88 bytes)
//
// 1 xrefs:
// > StatsObject::create @ 0x10010f820
//
// 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
//
bool __fastcall StatsObject::init(StatsObject *a1, const char *a2, int a3)
{
cocos2d::CCString *v5; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, (char *)a2);
v5 = (cocos2d::CCString *)sub_100268E48(__p);
a1->m_key = cocos2d::CCString::getCString(v5);
if ( v8 < 0 )
operator delete(__p[0]);
a1->m_value = a3;
return 1;
}