// // cocos2d::FNTConfigLoadFile from 0x7d5a4c to 0x7d5af2 (166 bytes) // // 2 xrefs: // > cocos2d::CCLabelBMFont::setFntFile @ 0x7d5b26 // > cocos2d::CCLabelBMFont::initWithString @ 0x7d5ba6 // // 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:38 +0000 // cocos2d::CCObject *__fastcall cocos2d::FNTConfigLoadFile(cocos2d *this, const char *a2) { cocos2d::CCDictionary *v3; // r5 size_t v4; // r0 int v5; // r6 cocos2d::CCObject *v6; // r6 const char *v7; // r1 size_t v8; // r0 int v9; // r9 int v11; // [sp+0h] [bp-14h] BYREF int v12; // [sp+4h] [bp-10h] int v13; // [sp+8h] [bp-Ch] if ( !dword_D2F2B8 ) { v3 = (cocos2d::CCDictionary *)operator new(0x3Cu); cocos2d::CCDictionary::CCDictionary(v3); dword_D2F2B8 = (int)v3; } v11 = 0; v12 = 0; v13 = 0; v4 = strlen((const char *)this); v5 = dword_D2F2B8; std::string::__init(&v11, this, v4); v6 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v5, (int)&v11); std::string::~string((int)&v11); if ( !v6 ) { v6 = cocos2d::CCBMFontConfiguration::create(this, v7); if ( v6 ) { v11 = 0; v12 = 0; v13 = 0; v8 = strlen((const char *)this); v9 = dword_D2F2B8; std::string::__init(&v11, this, v8); cocos2d::CCDictionary::setObject(v9, v6, (int)&v11); std::string::~string((int)&v11); } } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source