{"type": "func", "start": 4298211792, "end": 4298211900, "name": "GameManager::getFontFile", "pseudocode": "// \n// GameManager::getFontFile from 0x1003181d0 to 0x10031823c (108 bytes)\n// \n// 7 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004ea00\n// > CustomizeObjectLayer::init @ 0x10004ec6c\n// > SecretLayer5::init @ 0x1000748f4\n// > PlayLayer::setupHasCompleted @ 0x100116c34\n// > TextGameObject::updateTextObject @ 0x100265010\n// > SelectFontLayer::updateFontLabel @ 0x1002d2338\n// > LabelGameObject::createLabel @ 0x100388b2c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nconst char *__fastcall GameManager::getFontFile(GameManager *a1, int a2)\n{\n  int v3; // w8\n  int v4; // w19\n  cocos2d::CCString *v5; // x0\n\n  if ( a2 >= 59 )\n    v3 = 59;\n  else\n    v3 = a2;\n  v4 = v3 & ~(v3 >> 31);\n  GameManager::loadFont(a1, v4);\n  if ( a2 < 1 )\n    return \"bigFont.fnt\";\n  v5 = (cocos2d::CCString *)sub_100268F4C(\"gjFont%02d.fnt\", v4);\n  return cocos2d::CCString::getCString(v5);\n}", "assembly": "; \n; GameManager::getFontFile from 0x1003181d0 to 0x10031823c (108 bytes)\n; \n; 7 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004ea00\n; > CustomizeObjectLayer::init @ 0x10004ec6c\n; > SecretLayer5::init @ 0x1000748f4\n; > PlayLayer::setupHasCompleted @ 0x100116c34\n; > TextGameObject::updateTextObject @ 0x100265010\n; > SelectFontLayer::updateFontLabel @ 0x1002d2338\n; > LabelGameObject::createLabel @ 0x100388b2c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1003181d0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003181d4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003181d8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003181dc\nMOV             X20, X1                                                ; +0x10, 0x1003181e0\nCMP             W1, #0x3B ; ';'                                        ; +0x14, 0x1003181e4\nMOV             W8, #0x3B ; ';'                                        ; +0x18, 0x1003181e8\nCSEL            W8, W1, W8, LT                                         ; +0x1c, 0x1003181ec\nBIC             W19, W8, W8,ASR#31                                     ; +0x20, 0x1003181f0\nMOV             X1, X19                                                ; +0x24, 0x1003181f4\nBL              GameManager__loadFont                                  ; +0x28, 0x1003181f8\nCMP             W20, #1                                                ; +0x2c, 0x1003181fc\nB.LT            loc_100318224                                          ; +0x30, 0x100318200\nSTR             X19, [SP,#0x20+var_20]                                 ; +0x34, 0x100318204\nADRL            X0, aGjfont02dFnt; \"gjFont%02d.fnt\"                    ; +0x38, 0x100318208\nBL              sub_100268F4C                                          ; +0x40, 0x100318210\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x100318214\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x100318218\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x10031821c\nB               cocos2d__CCString__getCString                          ; +0x50, 0x100318220\nADRL            X0, aBigfontFnt; \"bigFont.fnt\"                         ; +0x54, 0x100318224\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x10031822c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x100318230\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x100318234\nRET                                                                    ; +0x68, 0x100318238", "xrefs": ["CustomizeObjectLayer::init @ 0x10004ea00", "CustomizeObjectLayer::init @ 0x10004ec6c", "SecretLayer5::init @ 0x1000748f4", "PlayLayer::setupHasCompleted @ 0x100116c34", "TextGameObject::updateTextObject @ 0x100265010", "SelectFontLayer::updateFontLabel @ 0x1002d2338", "LabelGameObject::createLabel @ 0x100388b2c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}