//
// sub_83AED4 from 0x83aed4 to 0x83af32 (94 bytes)
//
// 3 xrefs:
// > cocos2d::extension::AssetsManager::checkUpdate @ 0x7a62d4
// > sub_7B16D0 @ 0x7b16ee
// > sub_83ED90 @ 0x83ee06
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:02:16 +0000
//
int sub_83AED4()
{
int v1; // [sp+4h] [bp-4h] BYREF
if ( !dword_D31650 )
{
dword_D31650 = 1;
off_D200AC = (void *(*)(size_t))&malloc;
off_D200B0 = (void (*)(void *))&free;
off_D200B4 = (void *(*)(void *, size_t))&realloc;
off_D200B8 = (char *(*)(const char *))&strdup;
off_D200BC = (void *(*)(size_t, size_t))&calloc;
if ( !sub_8554A4() )
return 0;
sub_8426A4();
dword_D31654 = 3;
sub_833BE0();
}
if ( sub_82E8D4(&v1) )
return 0;
return v1;
}