//
// sub_1004525D8 from 0x1004525d8 to 0x100452610 (56 bytes)
//
// 8 xrefs:
// > DS_Dictionary::setSubDictForKey @ 0x1001eab18
// > DS_Dictionary::setIntegerForKey @ 0x1001eaccc
// > DS_Dictionary::setIntegerForKey @ 0x1001ead38
// > DS_Dictionary::setBoolForKey @ 0x1001eae9c
// > DS_Dictionary::setFloatForKey @ 0x1001eb048
// > DS_Dictionary::setFloatForKey @ 0x1001eb0b4
// > sub_1001EB14C @ 0x1001eb230
// > sub_1001EB14C @ 0x1001eb288
//
// 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:05:21 +0000
//
__int64 __fastcall sub_1004525D8(__int64 *a1, const void *a2)
{
__int64 v3; // x1
bool v4; // zf
v3 = *a1;
if ( *a1 && ((*(_DWORD *)v3 & 7u) - 2 >= 4 ? (v4 = (*(_DWORD *)v3 & 7) == 7) : (v4 = 1), v4) )
return sub_10045222C((void **)(v3 + 24), (__int64 *)v3, 8, a2);
else
return 0;
}