//
// sub_1001DFB88 from 0x1001dfb88 to 0x1001dfbec (100 bytes)
//
// 2 xrefs:
// > sub_1001DF084 @ 0x1001df3b0
// > sub_1001DF084 @ 0x1001df3f4
//
// 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 11:00:29 +0000
//
double __fastcall sub_1001DFB88(__int64 a1, __int64 a2)
{
double result; // d0
__int64 v5; // x1
__int64 v6; // x0
*(_QWORD *)&result = cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 400), a2, *(int *)(a2 + 56)).n128_u64[0];
v5 = *(unsigned int *)(a2 + 60);
if ( (int)v5 >= 1 )
{
v6 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 400), v5);
if ( v6 )
{
if ( *(_BYTE *)(v6 + 72) == 1 )
*(_QWORD *)&result = sub_1002E74E0(*(_QWORD *)(v6 + 152), a2).n128_u64[0];
}
}
return result;
}