//
// sub_100656FC0 from 0x100656fc0 to 0x100657039 (121 bytes)
//
// 0 xrefs:
//
// 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:34:52 +0000
//
__int64 __fastcall sub_100656FC0(__int64 a1)
{
__int64 result; // rax
__int64 v2; // r14
__int64 v4; // r15
__int64 v5; // rdi
result = *(_QWORD *)(a1 + 824);
if ( result )
{
v2 = *(_QWORD *)(result + 56);
while ( v2 )
{
v4 = *(_QWORD *)(v2 + 264);
v2 = *(_QWORD *)(v2 + 288);
if ( !*(_BYTE *)(v4 + 72) )
{
v5 = *(_QWORD *)(a1 + 400);
if ( v5 )
{
result = cocos2d::CCDictionary::objectForKey_1(v5, *(int *)(v4 + 56));
if ( result )
{
result = *(_QWORD *)(result + 64);
*(_QWORD *)(v4 + 64) = result;
}
}
}
}
}
return result;
}