; ; 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 ; mov [rsp+arg_8], rsi ; +0x0, 0x1401827f0 push rdi ; +0x5, 0x1401827f5 sub rsp, 20h ; +0x6, 0x1401827f6 mov eax, 3Bh ; ';' ; +0xa, 0x1401827fa mov rsi, rcx ; +0xf, 0x1401827ff cmp edx, eax ; +0x12, 0x140182802 cmovl eax, edx ; +0x14, 0x140182804 mov edx, [rcx+3CCh] ; +0x17, 0x140182807 xor edi, edi ; +0x1d, 0x14018280d test eax, eax ; +0x1f, 0x14018280f cmovg edi, eax ; +0x21, 0x140182811 cmp edi, edx ; +0x24, 0x140182814 jz short loc_14018288B ; +0x26, 0x140182816 mov [rsp+28h+arg_0], rbx ; +0x28, 0x140182818 test edx, edx ; +0x2d, 0x14018281d jz short loc_14018284C ; +0x2f, 0x14018281f lea rcx, aGjfont02dPng; "gjFont%02d.png" ; +0x31, 0x140182821 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x38, 0x140182828 mov rcx, rax ; +0x3e, 0x14018282e call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x41, 0x140182831 mov rbx, rax ; +0x47, 0x140182837 call cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x4a, 0x14018283a mov rcx, rax ; +0x50, 0x140182840 mov rdx, rbx ; +0x53, 0x140182843 call cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0x56, 0x140182846 test edi, edi ; +0x5c, 0x14018284c jz short loc_140182880 ; +0x5e, 0x14018284e mov edx, edi ; +0x60, 0x140182850 lea rcx, aGjfont02dPng; "gjFont%02d.png" ; +0x62, 0x140182852 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x69, 0x140182859 mov rcx, rax ; +0x6f, 0x14018285f call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x72, 0x140182862 mov rbx, rax ; +0x78, 0x140182868 call cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x7b, 0x14018286b xor r8d, r8d ; +0x81, 0x140182871 mov rdx, rbx ; +0x84, 0x140182874 mov rcx, rax ; +0x87, 0x140182877 call cs:?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x8a, 0x14018287a mov rbx, [rsp+28h+arg_0] ; +0x90, 0x140182880 mov [rsi+3CCh], edi ; +0x95, 0x140182885 mov rsi, [rsp+28h+arg_8] ; +0x9b, 0x14018288b add rsp, 20h ; +0xa0, 0x140182890 pop rdi ; +0xa4, 0x140182894 retn ; +0xa5, 0x140182895