// // BitmapFontCache::fontWithConfigFile from 0x3bffa8 to 0x3c008c (228 bytes) // // 2 xrefs: // > MultilineBitmapFont::initWithFont @ 0x3d5e88 // > sub_3E3C78 @ 0x3e3e04 // // 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 11:46:30 +0000 // cocos2d::CCObject *__fastcall BitmapFontCache::fontWithConfigFile(BitmapFontCache *this, char *a2, const char *a3) { cocos2d::CCString *v6; // r0 const char *CString; // r0 int v8; // r6 const char *v9; // r8 size_t v10; // r0 int v11; // r6 float v12; // r2 size_t v13; // r0 int v14; // r5 cocos2d::CCObject *v15; // r5 cocos2d::CCObject *v16; // r0 int v17; // r9 size_t v18; // r0 int v20; // [sp+0h] [bp-14h] BYREF int v21; // [sp+4h] [bp-10h] int v22; // [sp+8h] [bp-Ch] v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s%f", a2, *(float *)&a3); CString = (const char *)cocos2d::CCString::getCString(v6); v20 = 0; v21 = 0; v22 = 0; v8 = *((_DWORD *)this + 13); v9 = CString; v10 = strlen(CString); std::string::__init(&v20, v9, v10); v11 = cocos2d::CCDictionary::objectForKey(v8, &v20); std::string::~string((int)&v20); if ( v11 ) { v20 = 0; v21 = 0; v22 = 0; v13 = strlen(v9); v14 = *((_DWORD *)this + 13); std::string::__init(&v20, v9, v13); v15 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v14, &v20); } else { v16 = (cocos2d::CCObject *)FontObject::createWithConfigFile((FontObject *)a2, a3, v12); v20 = 0; v21 = 0; v22 = 0; v17 = *((_DWORD *)this + 13); v15 = v16; v18 = strlen(v9); std::string::__init(&v20, v9, v18); cocos2d::CCDictionary::setObject(v17, v15); } std::string::~string((int)&v20); return v15; }