//
// sub_100225FB0 from 0x100225fb0 to 0x10022604c (156 bytes)
//
// 1 xrefs:
// > SupportLayer::customSetup @ 0x100224c7c
//
// 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:01:10 +0000
//
void __fastcall sub_100225FB0(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x20
__int64 v4; // x21
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v6; // [xsp+1Fh] [xbp-21h]
v2 = GameStatsManager::sharedState(a1);
sub_100009900(__p, "0023");
v3 = GameStatsManager::unlockSpecialChest(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v3 )
{
v4 = RewardUnlockLayer::create(*(unsigned int *)(v3 + 64), 0);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 100);
RewardUnlockLayer::showCollectReward(v4, v3);
}
}