//
// sub_10005C340 from 0x10005c340 to 0x10005c373 (51 bytes)
//
// 15 xrefs:
// > cocos2d::CCUserDefault::getBoolForKey @ 0x1006afdb6
// > cocos2d::CCUserDefault::getBoolForKey @ 0x1006afddd
// > cocos2d::CCUserDefault::setBoolForKey @ 0x1006b0089
// > cocos2d::CCUserDefault::getIntegerForKey @ 0x1006b020a
// > cocos2d::CCUserDefault::getIntegerForKey @ 0x1006b0231
// > cocos2d::CCUserDefault::setIntegerForKey @ 0x1006b0349
// > cocos2d::CCUserDefault::getFloatForKey @ 0x1006b048e
// > cocos2d::CCUserDefault::getFloatForKey @ 0x1006b04b5
// > cocos2d::CCUserDefault::setFloatForKey @ 0x1006b05cb
// > cocos2d::CCUserDefault::getDoubleForKey @ 0x1006b071a
// > cocos2d::CCUserDefault::getDoubleForKey @ 0x1006b0741
// > cocos2d::CCUserDefault::setDoubleForKey @ 0x1006b085b
// > cocos2d::CCUserDefault::getStringForKey @ 0x1006b09d1
// > cocos2d::CCUserDefault::getStringForKey @ 0x1006b0a7b
// > cocos2d::CCUserDefault::setStringForKey @ 0x1006b0c68
//
// This function is hookable on this platform (idp: pc, 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 12:19:40 +0000
//
__int64 __fastcall sub_10005C340(__int64 a1, _QWORD *a2)
{
__int64 v2; // rbx
__int64 result; // rax
if ( a2 )
{
v2 = a2[10];
(*(void (__fastcall **)(_QWORD *))(*a2 + 128LL))(a2);
return (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v2 + 32LL))(v2, a2);
}
return result;
}