// // cocos2d::CCConfiguration::getNumber from 0x7b3fb0 to 0x7b4078 (200 bytes) // // 1 xrefs: // > cocos2d::CCDirector::setDefaultValues @ 0x7c9df6 // // 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:00:09 +0000 // __int64 __fastcall cocos2d::CCConfiguration::getNumber(cocos2d::CCConfiguration *this, const char *a2, double a3) { int v4; // r11 size_t v6; // r0 const void *v7; // r8 double *v8; // r0 double v9; // d7 int *v10; // r0 cocos2d::CCString *v11; // r0 int v12; // r1 int v14[3]; // [sp+8h] [bp-14h] BYREF v4 = *((_DWORD *)this + 20); memset(v14, 0, sizeof(v14)); v6 = strlen(a2); std::string::__init(v14, a2, v6); v7 = (const void *)cocos2d::CCDictionary::objectForKey(v4, v14); std::string::~string((int)v14); if ( !v7 ) goto LABEL_8; v8 = (double *)_dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCDouble, 0); if ( !v8 ) { v10 = (int *)_dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCInteger, 0); if ( v10 ) { v9 = (double)v10[13]; return *(_QWORD *)&v9; } v11 = (cocos2d::CCString *)_dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0); if ( v11 ) { LODWORD(v9) = cocos2d::CCString::doubleValue(v11); HIDWORD(v9) = v12; return *(_QWORD *)&v9; } LABEL_8: v9 = a3; return *(_QWORD *)&v9; } v9 = v8[7]; return *(_QWORD *)&v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source