//
// sub_10002BADC from 0x10002badc to 0x10002bb4c (112 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x100028818
//
// 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_10002BADC(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x0
_QWORD *v4; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v1 = result;
v2 = GameManager::sharedState(result);
if ( *(_DWORD *)(v2 + 660) == *(_DWORD *)(v2 + 664) )
{
v3 = GameLevelManager::sharedState(v2);
GameLevelManager::updateUserScore(v3);
}
v4 = (_QWORD *)LikeItemLayer::create(
1,
(unsigned int)(*(_DWORD *)(*(_QWORD *)(v1 + 504) + 328LL)
- *(_DWORD *)(*(_QWORD *)(v1 + 504) + 332LL)),
0);
v4[84] = v1 + 432;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}
return result;
}