// // GameManager::loadFont from 0x1401827f0 to 0x140182896 (166 bytes) // // 25 xrefs: // > CustomizeObjectLayer::init @ 0x1400a6faa // > CustomizeObjectLayer::init @ 0x1400a6fcb // > CustomizeObjectLayer::init @ 0x1400a72fb // > CustomizeObjectLayer::init @ 0x1400a731c // > GameObject::createWithKey @ 0x14018b9f2 // > GameObject::createWithKey @ 0x14018ba16 // > TextGameObject::updateTextObject @ 0x1401a77fc // > TextGameObject::updateTextObject @ 0x1401a781d // > GJBaseGameLayer::createTextLayers @ 0x14020ed37 // > GJBaseGameLayer::createTextLayers @ 0x14020ed5b // > SelectFontLayer::updateFontLabel @ 0x14028ebe5 // > SelectFontLayer::updateFontLabel @ 0x14028ec72 // > SelectFontLayer::updateFontLabel @ 0x14028ec93 // > LevelEditorLayer::createObjectsFromSetup @ 0x1402d3a80 // > LevelEditorLayer::updateLevelFont @ 0x1402df382 // > LevelEditorLayer::updateLevelFont @ 0x1402df3a6 // > PlayLayer::setupHasCompleted @ 0x1403a6eef // > PlayLayer::setupHasCompleted @ 0x1403a6f10 // > PlayLayer::prepareCreateObjectsFromSetup @ 0x1403ad091 // > SecretLayer5::init @ 0x1403f4e09 // > LabelGameObject::createLabel @ 0x1404b35f0 // > LabelGameObject::createLabel @ 0x1404b3611 // > @ 0x140677a78 // > @ 0x140677a88 // > @ 0x1406cb448 // // 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 // void GameManager::loadFont(GameManager *a1, int a2) { int v2; // eax int m_loadedFont; // 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; m_loadedFont = a1->m_loadedFont; v5 = 0; if ( v2 > 0 ) v5 = v2; if ( v5 != m_loadedFont ) { if ( m_loadedFont ) { v6 = cocos2d::CCString::createWithFormat("gjFont%02d.png", m_loadedFont); 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); } a1->m_loadedFont = v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source