//
// LevelLeaderboard::create from 0x1002ec4fc to 0x1002ec574 (120 bytes)
//
// 4 xrefs:
// > sub_10002BA78 @ 0x10002bac4
// > sub_1001113F0 @ 0x10011141c
// > sub_1002EDE1C @ 0x1002ede7c
// > sub_100393EDC @ 0x100393f2c
//
// 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 11:02:53 +0000
//
void *__fastcall LevelLeaderboard::create(__int64 a1, __int64 a2, __int64 a3)
{
void *v6; // x19
v6 = operator new(0x2F0u);
LevelLeaderboard::LevelLeaderboard();
if ( (unsigned int)LevelLeaderboard::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}