; ; BitmapFontCache::fontWithConfigFile from 0x687464 to 0x6875f4 (400 bytes) ; ; 3 xrefs: ; > MultilineBitmapFont::initWithFont @ 0x6ac054 ; > sub_6C2C04 @ 0x6c2fdc ; > @ 0x67ee8 ; ; This function is hookable on this platform (idp: arm, 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 12:50:31 +0000 ; STP X29, X30, [SP,#var_70]! ; +0x0, 0x687464 MOV X29, SP ; +0x4, 0x687468 STP X19, X20, [SP,#0x70+var_60] ; +0x8, 0x68746c ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x687470 ADD X20, X29, #0x70+var_20 ; +0x10, 0x687474 STP X21, X22, [SP,#0x70+var_50] ; +0x14, 0x687478 STP X23, X24, [SP,#0x70+var_40] ; +0x18, 0x68747c LDR X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x687480 MOV X22, X0 ; +0x20, 0x687484 STR D8, [SP,#0x70+var_30] ; +0x24, 0x687488 ADRP X0, #aSF@PAGE; "%s%f" ; +0x28, 0x68748c FMOV S8, S0 ; +0x2c, 0x687490 ADD X0, X0, #aSF@PAGEOFF; "%s%f" ; +0x30, 0x687494 FCVT D0, S0 ; +0x34, 0x687498 LDR X2, [X2] ; +0x38, 0x68749c MOV X24, X1 ; +0x3c, 0x6874a0 STR X2, [X29,#0x70+var_8] ; +0x40, 0x6874a4 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x44, 0x6874a8 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x48, 0x6874ac STR XZR, [X29,#0x70+var_20] ; +0x4c, 0x6874b0 MOV X21, X0 ; +0x50, 0x6874b4 STR XZR, [X29,#0x70+var_18] ; +0x54, 0x6874b8 STR XZR, [X29,#0x70+var_10] ; +0x58, 0x6874bc BL .strlen ; +0x5c, 0x6874c0 MOV X1, X21 ; +0x60, 0x6874c4 MOV X2, X0 ; +0x64, 0x6874c8 MOV X0, X20 ; +0x68, 0x6874cc LDR X23, [X22,#0x38] ; +0x6c, 0x6874d0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x70, 0x6874d4 MOV X0, X23 ; +0x74, 0x6874d8 MOV X1, X20 ; +0x78, 0x6874dc BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x7c, 0x6874e0 MOV X23, X0 ; +0x80, 0x6874e4 LDRB W0, [X29,#0x70+var_20] ; +0x84, 0x6874e8 TBNZ W0, #0, loc_687564 ; +0x88, 0x6874ec CBZ X23, loc_687570 ; +0x8c, 0x6874f0 MOV X0, X21; char * ; +0x90, 0x6874f4 STR XZR, [X29,#0x70+var_20] ; +0x94, 0x6874f8 STR XZR, [X29,#0x70+var_18] ; +0x98, 0x6874fc STR XZR, [X29,#0x70+var_10] ; +0x9c, 0x687500 BL .strlen ; +0xa0, 0x687504 MOV X1, X21 ; +0xa4, 0x687508 MOV X2, X0 ; +0xa8, 0x68750c MOV X0, X20 ; +0xac, 0x687510 LDR X22, [X22,#0x38] ; +0xb0, 0x687514 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xb4, 0x687518 MOV X0, X22 ; +0xb8, 0x68751c MOV X1, X20 ; +0xbc, 0x687520 BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0xc0, 0x687524 MOV X23, X0 ; +0xc4, 0x687528 LDRB W0, [X29,#0x70+var_20] ; +0xc8, 0x68752c TBNZ W0, #0, loc_6875C0 ; +0xcc, 0x687530 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xd0, 0x687534 MOV X0, X23 ; +0xd4, 0x687538 LDR X2, [X29,#0x70+var_8] ; +0xd8, 0x68753c LDR X1, [X19] ; +0xdc, 0x687540 CMP X2, X1 ; +0xe0, 0x687544 B.NE loc_6875CC ; +0xe4, 0x687548 LDP X19, X20, [SP,#0x70+var_60] ; +0xe8, 0x68754c LDP X21, X22, [SP,#0x70+var_50] ; +0xec, 0x687550 LDP X23, X24, [SP,#0x70+var_40] ; +0xf0, 0x687554 LDR D8, [SP,#0x70+var_30] ; +0xf4, 0x687558 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0xf8, 0x68755c RET ; +0xfc, 0x687560 LDR X0, [X29,#0x70+var_10]; void * ; +0x100, 0x687564 BL _ZdlPv; operator delete(void *) ; +0x104, 0x687568 CBNZ X23, loc_6874F4 ; +0x108, 0x68756c FMOV S0, S8; float ; +0x10c, 0x687570 MOV X0, X24; this ; +0x110, 0x687574 BL _ZN10FontObject20createWithConfigFileEPKcf; FontObject::createWithConfigFile(char const*,float) ; +0x114, 0x687578 MOV X23, X0 ; +0x118, 0x68757c MOV X0, X21; char * ; +0x11c, 0x687580 STR XZR, [X29,#0x70+var_20] ; +0x120, 0x687584 STR XZR, [X29,#0x70+var_18] ; +0x124, 0x687588 STR XZR, [X29,#0x70+var_10] ; +0x128, 0x68758c BL .strlen ; +0x12c, 0x687590 MOV X1, X21 ; +0x130, 0x687594 MOV X2, X0 ; +0x134, 0x687598 MOV X0, X20 ; +0x138, 0x68759c LDR X22, [X22,#0x38] ; +0x13c, 0x6875a0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x140, 0x6875a4 MOV X0, X22; int ; +0x144, 0x6875a8 MOV X1, X23; this ; +0x148, 0x6875ac MOV X2, X20 ; +0x14c, 0x6875b0 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x150, 0x6875b4 LDRB W0, [X29,#0x70+var_20] ; +0x154, 0x6875b8 TBZ W0, #0, loc_687534 ; +0x158, 0x6875bc LDR X0, [X29,#0x70+var_10]; void * ; +0x15c, 0x6875c0 BL _ZdlPv; operator delete(void *) ; +0x160, 0x6875c4 B loc_687534 ; +0x164, 0x6875c8 BL .__stack_chk_fail ; +0x168, 0x6875cc LDRB W1, [X29,#0x70+var_20] ; +0x16c, 0x6875d0 MOV X19, X0 ; +0x170, 0x6875d4 TBZ W1, #0, loc_6875E4 ; +0x174, 0x6875d8 LDR X0, [X29,#0x70+var_10]; void * ; +0x178, 0x6875dc BL _ZdlPv; operator delete(void *) ; +0x17c, 0x6875e0 MOV X0, X19 ; +0x180, 0x6875e4 BL _Unwind_Resume ; +0x184, 0x6875e8 B loc_6875D0 ; +0x188, 0x6875ec B loc_6875D0 ; +0x18c, 0x6875f0