// // GameManager::loadFont from 0x14027dc60 to 0x14027dd06 (166 bytes) // // 22 xrefs: // > CustomizeObjectLayer::init @ 0x14014100b // > CustomizeObjectLayer::init @ 0x14014102c // > CustomizeObjectLayer::init @ 0x140141368 // > CustomizeObjectLayer::init @ 0x140141389 // > GameObject::createWithKey @ 0x140288b55 // > GameObject::createWithKey @ 0x140288b79 // > TextGameObject::updateTextObject @ 0x1402a4906 // > TextGameObject::updateTextObject @ 0x1402a4927 // > GJBaseGameLayer::createTextLayers @ 0x140314e9a // > GJBaseGameLayer::createTextLayers @ 0x140314ebe // > LevelEditorLayer::createObjectsFromSetup @ 0x1403efc5e // > LevelEditorLayer::updateLevelFont @ 0x1403fdcd2 // > LevelEditorLayer::updateLevelFont @ 0x1403fdcf6 // > PlayLayer::setupHasCompleted @ 0x14050524c // > PlayLayer::setupHasCompleted @ 0x14050526d // > PlayLayer::prepareCreateObjectsFromSetup @ 0x14050b9d4 // > SecretLayer5::init @ 0x14058a4a2 // > LabelGameObject::createLabel @ 0x140654a76 // > LabelGameObject::createLabel @ 0x140654a97 // > @ 0x1408addb4 // > @ 0x1408addc4 // > @ 0x14091ce80 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:28:58 +0000 // void __fastcall GameManager::loadFont(__int64 a1, int a2) { int v2; // eax int v4; // edx int v5; // edi cocos2d::CCString *v6; // rax const char *CString; // rbx cocos2d::CCTextureCache *v8; // rax cocos2d::CCString *v9; // rax const char *v10; // rbx cocos2d::CCTextureCache *v11; // rax v2 = 59; if ( a2 < 59 ) v2 = a2; v4 = *(_DWORD *)(a1 + 1024); v5 = 0; if ( v2 > 0 ) v5 = v2; if ( v5 != v4 ) { if ( v4 ) { v6 = cocos2d::CCString::createWithFormat("gjFont%02d.png", v4); CString = cocos2d::CCString::getCString(v6); v8 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::removeTextureForKey(v8, CString); } if ( v5 ) { v9 = cocos2d::CCString::createWithFormat("gjFont%02d.png", v5); v10 = cocos2d::CCString::getCString(v9); v11 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(); cocos2d::CCTextureCache::addImage(v11, v10, 0); } *(_DWORD *)(a1 + 1024) = v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source