// // GameStatsManager::collectVideoReward from 0x52b01c to 0x52b0ae (146 bytes) // // 1 xrefs: // > GameManager::rewardedVideoHidden @ 0x4157ec // // 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:52:00 +0000 // int __fastcall GameStatsManager::collectVideoReward(GameStatsManager *this, const char *a2, float a3, int a4) { int v4; // s0 int v5; // s1 const char *v8; // r1 cocos2d::CCString *v9; // r0 const char *CString; // r8 size_t v11; // r0 int v12; // r8 cocos2d::CCObject *v13; // r0 GameStatsManager *v15; // [sp+0h] [bp-10h] BYREF const char *v16; // [sp+4h] [bp-Ch] float v17; // [sp+8h] [bp-8h] int v18; // [sp+Ch] [bp-4h] v15 = this; v16 = a2; v17 = a3; v18 = a4; sub_515660((int)this, *(float *)&a2, a3, _stack_chk_guard); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%f", v8, v4, v5, v15, v16, v17, v18); v15 = nullptr; v16 = nullptr; v17 = 0.0; CString = (const char *)cocos2d::CCString::getCString(v9); v11 = strlen(CString); std::string::__init((int *)&v15, CString, v11); v12 = *((_DWORD *)this + 87); v13 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); cocos2d::CCDictionary::setObject(v12, v13); *((_BYTE *)this + 516) = 1; GameStatsManager::incrementStat(this, "14", (int)a2); *((_BYTE *)this + 516) = 0; return std::string::~string((int)&v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source