// // BitmapFontCache::fontWithConfigFile from 0x1002f3a38 to 0x1002f3b34 (252 bytes) // // 1 xrefs: // > MultilineBitmapFont::initWithFont @ 0x100234514 // // 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 *__fastcall BitmapFontCache::fontWithConfigFile(BitmapFontCache *a1, const char *a2, float a3) { cocos2d::CCString *v6; // x0 char *CString; // x21 cocos2d::CCDictionary *m_cache; // x22 __int64 v9; // x0 __int64 v10; // x22 cocos2d::CCDictionary *v11; // x19 FontObject *v12; // x20 cocos2d::CCDictionary *v13; // x19 void *__p[2]; // [xsp+18h] [xbp-48h] BYREF char v16; // [xsp+2Fh] [xbp-31h] v6 = (cocos2d::CCString *)sub_100268F4C("%s%f", a2, a3); CString = (char *)cocos2d::CCString::getCString(v6); m_cache = a1->m_cache; sub_100009900(__p, CString); v9 = cocos2d::CCDictionary::objectForKey_1(m_cache, __p); v10 = v9; if ( v16 < 0 ) { operator delete(__p[0]); if ( v10 ) goto LABEL_3; } else if ( v9 ) { LABEL_3: v11 = a1->m_cache; sub_100009900(__p, CString); v12 = (FontObject *)cocos2d::CCDictionary::objectForKey_1(v11, __p); goto LABEL_6; } v12 = FontObject::createWithConfigFile(a2, a3); v13 = a1->m_cache; sub_100009900(__p, CString); cocos2d::CCDictionary::setObject_1(v13, v12, __p); LABEL_6: if ( v16 < 0 ) operator delete(__p[0]); return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source