//
// GameStatsManager::storePendingUserCoin from 0x517300 to 0x51735e (94 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processItems @ 0x59c34c
//
// 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:43 +0000
//
int __fastcall GameStatsManager::storePendingUserCoin(GameStatsManager *this, const char *a2, int a3, int a4)
{
int v5; // r8
cocos2d::CCObject *v6; // r7
size_t v7; // r0
GameStatsManager *v9; // [sp+0h] [bp-10h] BYREF
const char *v10; // [sp+4h] [bp-Ch]
int v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v5 = *((_DWORD *)this + 105);
v6 = *((cocos2d::CCObject **)this + 66);
v9 = nullptr;
v10 = nullptr;
v11 = 0;
v7 = strlen(a2);
std::string::__init((int *)&v9, a2, v7);
cocos2d::CCDictionary::setObject(v5, v6);
return std::string::~string((int)&v9);
}