// // GameStatsManager::storeRewardState from 0x519838 to 0x5198b4 (124 bytes) // // 2 xrefs: // > GameLevelManager::onGetGJRewardsCompleted @ 0x4c9c0a // > GameLevelManager::onGetGJRewardsCompleted @ 0x4c9c32 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:45 +0000 // int __fastcall GameStatsManager::storeRewardState(int a1, int a2, int a3, int a4, int a5) { double v5; // d0 int v10; // r5 cocos2d::CCObject *v11; // r5 int v13[4]; // [sp+0h] [bp-10h] BYREF v13[0] = a1; v13[1] = a2; v13[2] = a3; v13[3] = a4; if ( a4 <= 0 ) { v10 = 0; } else { sub_515660(a1, _stack_chk_guard, COERCE_FLOAT(&_stack_chk_guard), a4); v10 = (int)v5 + a4; } std::string::basic_string(v13, a5); v11 = GJRewardItem::create(a3, v10, (int)v13); std::string::~string((int)v13); *((_DWORD *)v11 + 15) = a2; *((_BYTE *)v11 + 68) = 1; return cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 340), v11, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source