//
// StatsObject::create from 0x737898 to 0x73797c (228 bytes)
//
// 20 xrefs:
// > StatsLayer::customSetup @ 0x8ffe10
// > StatsLayer::customSetup @ 0x8ffe3c
// > StatsLayer::customSetup @ 0x8ffe68
// > StatsLayer::customSetup @ 0x8ffe94
// > StatsLayer::customSetup @ 0x8ffec0
// > StatsLayer::customSetup @ 0x8ffeec
// > StatsLayer::customSetup @ 0x8fff18
// > StatsLayer::customSetup @ 0x8fff44
// > StatsLayer::customSetup @ 0x8fff70
// > StatsLayer::customSetup @ 0x8fff9c
// > StatsLayer::customSetup @ 0x8fffc8
// > StatsLayer::customSetup @ 0x8ffff4
// > StatsLayer::customSetup @ 0x900020
// > StatsLayer::customSetup @ 0x90004c
// > StatsLayer::customSetup @ 0x900078
// > StatsLayer::customSetup @ 0x9000a4
// > StatsLayer::customSetup @ 0x9000d0
// > StatsLayer::customSetup @ 0x9000fc
// > StatsLayer::customSetup @ 0x900134
// > ??> @ 0x7fab0
//
// 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:52:39 +0000
//
cocos2d::CCObject *__fastcall StatsObject::create(StatsObject *this, const char *a2)
{
int v3; // w20
__int64 v4; // x0
cocos2d::CCObject *v5; // x19
v3 = (int)a2;
v4 = operator new(0x48u);
*(_QWORD *)v4 = 0;
v5 = (cocos2d::CCObject *)v4;
*(_DWORD *)(v4 + 8) = 0;
*(_DWORD *)(v4 + 12) = 0;
*(_DWORD *)(v4 + 16) = 0;
*(_DWORD *)(v4 + 20) = 0;
*(_DWORD *)(v4 + 24) = 0;
*(_DWORD *)(v4 + 28) = 0;
*(_DWORD *)(v4 + 32) = 0;
*(_DWORD *)(v4 + 36) = 0;
*(_DWORD *)(v4 + 40) = 0;
*(_DWORD *)(v4 + 44) = 0;
*(_DWORD *)(v4 + 48) = 0;
*(_DWORD *)(v4 + 52) = 0;
*(_QWORD *)(v4 + 56) = 0;
*(_DWORD *)(v4 + 64) = 0;
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);
*(_QWORD *)v5 = &off_142A940;
if ( (unsigned __int8)StatsObject::init(v5, (const char *)this, v3) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 16LL))(v5);
return nullptr;
}
}