//
// GJLocalScore::create from 0x70e5d0 to 0x70e684 (180 bytes)
//
// 2 xrefs:
// > LevelLeaderboard::getLocalScores @ 0x931b58
// > ??> @ 0x95fd0
//
// 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)
{
__int64 v4; // x19
v4 = operator new(0x48u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);
*(_DWORD *)(v4 + 56) = 0;
*(_DWORD *)(v4 + 60) = 0;
*(_QWORD *)v4 = &off_115DF90;
*(_BYTE *)(v4 + 64) = 0;
if ( GJLocalScore::init((GJLocalScore *)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (GJLocalScore *)v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
}