// // SupportLayer::onGetReward from 0x100384150 to 0x1003841cf (127 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x100382812 // // This function is hookable on this platform (idp: pc, 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 12:29:09 +0000 // void __fastcall SupportLayer::onGetReward(__int64 a1, __m128 a2) { __int64 v2; // rax __int64 v3; // r14 char *v4; // r15 char v5; // [rsp+0h] [rbp-30h] BYREF char v6[15]; // [rsp+1h] [rbp-2Fh] BYREF void *__p; // [rsp+10h] [rbp-20h] v2 = GameStatsManager::sharedState(); v5 = 8; strcpy(v6, "0023"); v3 = GameStatsManager::unlockSpecialChest(v2, (__int64)&v5, a2); if ( (v5 & 1) != 0 ) operator delete(__p); if ( v3 ) { v4 = RewardUnlockLayer::create(*(_DWORD *)(v3 + 64), 0); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 100); RewardUnlockLayer::showCollectReward((__int64)v4, v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source