//
// GJLocalScore::create from 0x4abce0 to 0x4abd34 (84 bytes)
//
// 1 xrefs:
// > LevelLeaderboard::getLocalScores @ 0x6148ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:58 +0000
//
cocos2d::CCObject *__fastcall GJLocalScore::create(GJLocalScore *this, int a2, int a3)
{
cocos2d::CCObject *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (cocos2d::CCObject *)operator new(0x40u);
cocos2d::CCObject::CCObject(v5);
*(_DWORD *)v5 = &off_C99500;
*((_DWORD *)v5 + 13) = 0;
*((_DWORD *)v5 + 14) = 0;
*((_BYTE *)v5 + 60) = 0;
if ( GJLocalScore::init(v5, (int)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}