//
// StatsObject::init from 0x334374 to 0x3343c0 (76 bytes)
//
// 1 xrefs:
// > StatsObject::create @ 0x3343f0
//
// 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 StatsObject::init(StatsObject *a1, const char *a2, int a3)
{
const std::string *v5; // r1
cocos2d::CCString *v6; // r0
char v8; // [sp+8h] [bp-Ch] BYREF
sub_776584((int)&v8, (char *)a2);
v6 = (cocos2d::CCString *)cocos2d::CCString::create((cocos2d::CCString *)&v8, v5);
a1->m_key = (const unsigned __int8 *)cocos2d::CCString::getCString(v6);
sub_774008(&v8);
a1->m_value = a3;
return 1;
}