// // BitmapFontCache::fontWithConfigFile from 0x2e0c70 to 0x2e0d34 (196 bytes) // // 1 xrefs: // > MultilineBitmapFont::initWithFont @ 0x2f1572 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // FontObject *BitmapFontCache::fontWithConfigFile(BitmapFontCache *a1, const char *a2, float a3) { cocos2d::CCString *v6; // r0 char *CString; // r0 cocos2d::CCDictionary *m_cache; // r10 char *v9; // r8 int v10; // r10 cocos2d::CCDictionary *v11; // r5 FontObject *v12; // r5 FontObject *v13; // r0 cocos2d::CCDictionary *v14; // r9 std::string v16; // [sp+8h] [bp+4h] BYREF v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s%f", a2, a3); CString = (char *)cocos2d::CCString::getCString(v6); m_cache = a1->m_cache; v9 = CString; sub_776584((int)&v16, CString); v10 = cocos2d::CCDictionary::objectForKey(m_cache, &v16); sub_774008(&v16); if ( v10 ) { v11 = a1->m_cache; sub_776584((int)&v16, v9); v12 = (FontObject *)cocos2d::CCDictionary::objectForKey(v11, &v16); } else { v13 = FontObject::createWithConfigFile(a2, a3); v14 = a1->m_cache; v12 = v13; sub_776584((int)&v16, v9); cocos2d::CCDictionary::setObject((int)v14, v12); } sub_774008(&v16); return v12; }