//
// GJLocalScore::create from 0x3ca4cc to 0x3ca520 (84 bytes)
//
// 1 xrefs:
// > LevelLeaderboard::getLocalScores @ 0x4e4e02
//
// 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
//
GJLocalScore *GJLocalScore::create(int a1, int a2)
{
GJLocalScore *v4; // r4
GJLocalScore_vtbl *v5; // r3
int *v6; // r0
v4 = (GJLocalScore *)operator new(0x40u);
cocos2d::CCObject::CCObject(v4);
v4->__vftable = (GJLocalScore_vtbl *)&off_A50130;
v4->m_points = 0;
v4->m_type = 0;
v4->m_currentScore = 0;
if ( GJLocalScore::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->__vftable;
v6 = (int *)v4;
v4 = nullptr;
v5->~GJLocalScore_0((GJLocalScore *)v6);
}
return v4;
}