// // sub_1003F52C4 from 0x1003f52c4 to 0x1003f538c (200 bytes) // // 1 xrefs: // > SecretLayer4::init @ 0x1003f4000 // // 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:04:32 +0000 // void __fastcall sub_1003F52C4(__int64 a1, __int64 a2) { __int64 v4; // x20 __int64 v5; // x20 _QWORD *v6; // x21 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1056LL))(a2, 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 344LL))(a2, 0); v4 = GameStatsManager::sharedState(); sub_100009900(__p, "0003"); v5 = GameStatsManager::unlockSpecialChest(v4, (__int64)__p); if ( v8 < 0 ) operator delete(__p[0]); if ( v5 ) { v6 = RewardUnlockLayer::create(*(unsigned int *)(v5 + 64), 0); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v6, 100); RewardUnlockLayer::showCollectReward((__int64)v6, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source