//
// sub_1000628C0 from 0x1000628c0 to 0x100062a25 (357 bytes)
//
// 1 xrefs:
// > MenuLayer::onStats @ 0x10037c42a
//
// This function is hookable on this platform (idp: pc, 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:19:42 +0000
//
char *sub_1000628C0()
{
char *v0; // rbx
v0 = (char *)operator new(0x260u);
cocos2d::CCLayerColor::CCLayerColor(v0);
*(_QWORD *)v0 = off_100B8B4F0;
*((_QWORD *)v0 + 40) = off_100B8BA68;
*((_QWORD *)v0 + 41) = &off_100B8BAD8;
*((_QWORD *)v0 + 42) = off_100B8BAF0;
*((_QWORD *)v0 + 43) = off_100B8BB10;
*((_QWORD *)v0 + 44) = off_100B8BB38;
*((_QWORD *)v0 + 51) = off_100B8BB68;
*((_QWORD *)v0 + 54) = off_100B8BBE8;
sub_1002782A0(v0 + 544);
sub_1002782A0(v0 + 552);
*((_QWORD *)v0 + 74) = 0;
v0[600] = 0;
*((_OWORD *)v0 + 35) = 0;
*(_OWORD *)(v0 + 569) = 0;
*(_QWORD *)v0 = off_100AB8920;
*((_QWORD *)v0 + 40) = off_100AB8E98;
*((_QWORD *)v0 + 41) = &off_100AB8F08;
*((_QWORD *)v0 + 42) = off_100AB8F20;
*((_QWORD *)v0 + 43) = off_100AB8F40;
*((_QWORD *)v0 + 44) = off_100AB8F68;
*((_QWORD *)v0 + 51) = off_100AB8F98;
*((_QWORD *)v0 + 54) = off_100AB9018;
if ( (unsigned __int8)GJDropDownLayer::init_1(v0, "Stats") )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}