//
// sub_1000BB594 from 0x1000bb594 to 0x1000bb644 (176 bytes)
//
// 1 xrefs:
// > GameLevelManager::rateDemon @ 0x1000bbd54
//
// This function is hookable on this platform (idp: arm, 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 10:58:43 +0000
//
void __fastcall sub_1000BB594(__int64 a1, int a2)
{
__int64 v4; // x21
__int64 v5; // x20
__int64 v6; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v9; // [xsp+1Fh] [xbp-21h]
if ( (unsigned int)cocos2d::CCDictionary::count(*(_QWORD *)(a1 + 816)) >= 0x3E8 )
{
cocos2d::CCDictionary::getFirstKey(__p, *(_QWORD *)(a1 + 816));
cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 816), (char *)__p);
if ( v9 < 0 )
operator delete(__p[0]);
}
v4 = *(_QWORD *)(a1 + 816);
v5 = *(_QWORD *)(a1 + 1512);
v6 = sub_1003065B0("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v4, v5, __p);
if ( v9 < 0 )
operator delete(__p[0]);
}