//
// cocos2d::CCConfiguration::getNumber from 0x1003c2e94 to 0x1003c2f70 (220 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x10020674c
//
// 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:03 +0000
//
double __fastcall cocos2d::CCConfiguration::getNumber(__int64 a1, char *a2, double a3)
{
__int64 v4; // x19
const void *v5; // x19
double *v6; // x0
int *v7; // x0
void *v8; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v11; // [xsp+1Fh] [xbp-21h]
v4 = *(_QWORD *)(a1 + 88);
sub_100009900(__p, a2);
v5 = (const void *)cocos2d::CCDictionary::objectForKey(v4, __p);
if ( v11 < 0 )
operator delete(__p[0]);
if ( v5 )
{
v6 = (double *)__dynamic_cast(
v5,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&off_1009483D8,
0);
if ( v6 )
{
return v6[7];
}
else
{
v7 = (int *)__dynamic_cast(
v5,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&off_1008E0268,
0);
if ( v7 )
{
return (double)v7[14];
}
else
{
v8 = __dynamic_cast(
v5,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCString,
0);
if ( v8 )
return cocos2d::CCString::doubleValue((__int64)v8);
}
}
}
return a3;
}