//
// sub_10002BA78 from 0x10002ba78 to 0x10002badc (100 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x100028788
//
// 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 10:57:28 +0000
//
__int64 __fastcall sub_10002BA78(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 IntGameVariable; // x20
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v1 = *(_QWORD *)(result + 504);
v2 = GameManager::sharedState(result);
IntGameVariable = GameManager::getIntGameVariable(v2, "0098");
v4 = GameManager::sharedState(IntGameVariable);
v5 = GameManager::getIntGameVariable(v4, "0164");
v6 = LevelLeaderboard::create(v1, IntGameVariable, v5);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}
return result;
}