//
// LevelSelectLayer::updatePageWithObject from 0x100482d44 to 0x100482dc0 (124 bytes)
//
// 2 xrefs:
// > sub_100483EA0 @ 0x100483ea4
// > ??> @ 0x10096f780
//
// 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:05:47 +0000
//
__int64 __fastcall LevelSelectLayer::updatePageWithObject(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
result = LevelPage::updateDynamicPage(a2, a3);
if ( (*(_BYTE *)(a1 + 464) & 1) == 0
&& *(int *)(a1 + 460) >= 61
&& *(_DWORD *)(a3 + 328) - *(_DWORD *)(a3 + 332) == -1 )
{
*(_BYTE *)(a1 + 464) = 1;
return LevelPage::addSecretCoin(a2);
}
return result;
}