//
// sub_1003C19EC from 0x1003c19ec to 0x1003c1abc (208 bytes)
//
// 1 xrefs:
// > sub_1003C1DFC @ 0x1003c1e70
//
// 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:04:02 +0000
//
void __fastcall sub_1003C19EC(__int64 a1, const char *a2)
{
const char *v2; // x21
__int64 v4; // x0
__int64 v5; // x19
void *v6; // x0
__int64 v7; // x20
char *CString; // x0
__int64 v9; // x0
float v10; // s8
char *v11; // x0
void *v12; // [xsp+10h] [xbp-60h] BYREF
char v13; // [xsp+27h] [xbp-49h]
void *__p[2]; // [xsp+28h] [xbp-48h] BYREF
char v15; // [xsp+3Fh] [xbp-31h]
v2 = a2;
v4 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 344), a2);
if ( v4 )
{
v5 = v4;
if ( v2[23] < 0 )
v2 = *(const char **)v2;
v6 = sub_1003065B0("%s%s", v2, "delay");
v7 = *(_QWORD *)(a1 + 344);
CString = (char *)cocos2d::CCString::getCString((__int64)v6);
sub_100009900(__p, CString);
v9 = cocos2d::CCDictionary::objectForKey(v7, __p);
v10 = cocos2d::CCString::floatValue(v9);
if ( v15 < 0 )
operator delete(__p[0]);
if ( v10 == 0.0 )
{
v11 = (char *)cocos2d::CCString::getCString(v5);
sub_100009900(&v12, v11);
if ( v13 < 0 )
operator delete(v12);
}
}
}