//
// GameStatsManager::logCoins from 0x516536 to 0x516560 (42 bytes)
//
// 0 xrefs:
//
// 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:40 +0000
//
unsigned int __fastcall GameStatsManager::logCoins(cocos2d::CCDictionary **this)
{
unsigned int v1; // r4
cocos2d::CCArray *v2; // r5
unsigned int result; // r0
cocos2d::CCString *v4; // r0
v1 = 0;
v2 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(*(this + 104));
while ( 1 )
{
result = cocos2d::CCArray::count(v2);
if ( v1 >= result )
break;
v4 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v2, v1++);
cocos2d::CCString::getCString(v4);
}
return result;
}