{"type": "func", "start": 6442747552, "end": 6442747644, "name": "cocos2d::CCBMFontConfiguration::description", "pseudocode": "// \n// cocos2d::CCBMFontConfiguration::description from 0x1800486a0 to 0x1800486fc (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b192c\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\nstd::string *__fastcall cocos2d::CCBMFontConfiguration::description(cocos2d::CCBMFontConfiguration *this)\n{\n  cocos2d::tCCKerningHashElement *m_pKerningDictionary; // rax\n  unsigned int v2; // r8d\n  unsigned int num_items; // r9d\n  cocos2d::tCCFontDefHashElement *m_pFontDefDictionary; // rax\n  std::string *p_m_sAtlasName; // rax\n  cocos2d::CCString *v6; // rax\n\n  m_pKerningDictionary = this->m_pKerningDictionary;\n  v2 = 0;\n  if ( m_pKerningDictionary )\n    num_items = m_pKerningDictionary->hh.tbl->num_items;\n  else\n    num_items = 0;\n  m_pFontDefDictionary = this->m_pFontDefDictionary;\n  if ( m_pFontDefDictionary )\n    v2 = m_pFontDefDictionary->hh.tbl->num_items;\n  p_m_sAtlasName = &this->m_sAtlasName;\n  if ( this->m_sAtlasName.m_data.m_capacity > 0xF )\n    p_m_sAtlasName = (std::string *)p_m_sAtlasName->m_data.m_bigStorage;\n  v6 = cocos2d::CCString::createWithFormat(\n         \"<CCBMFontConfiguration = %08lX | Glphys:%d Kernings:%d | Image = %s>\",\n         (_DWORD)this,\n         v2,\n         num_items,\n         p_m_sAtlasName->m_data.m_smallStorage._Elems);\n  return cocos2d::CCString::getCString(v6);\n}", "assembly": "; \n; cocos2d::CCBMFontConfiguration::description from 0x1800486a0 to 0x1800486fc (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b192c\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     rsp, 38h                                                       ; +0x0, 0x1800486a0\nmov     rax, [rcx+78h]                                                 ; +0x4, 0x1800486a4\nxor     r8d, r8d                                                       ; +0x8, 0x1800486a8\ntest    rax, rax                                                       ; +0xb, 0x1800486ab\njz      short loc_1800486BA                                            ; +0xe, 0x1800486ae\nmov     rax, [rax+8]                                                   ; +0x10, 0x1800486b0\nmov     r9d, [rax+10h]                                                 ; +0x14, 0x1800486b4\njmp     short loc_1800486BD                                            ; +0x18, 0x1800486b8\nmov     r9d, r8d                                                       ; +0x1a, 0x1800486ba\nmov     rax, [rcx+38h]                                                 ; +0x1d, 0x1800486bd\ntest    rax, rax                                                       ; +0x21, 0x1800486c1\njz      short loc_1800486CE                                            ; +0x24, 0x1800486c4\nmov     rax, [rax+20h]                                                 ; +0x26, 0x1800486c6\nmov     r8d, [rax+10h]                                                 ; +0x2a, 0x1800486ca\ncmp     qword ptr [rcx+70h], 0Fh                                       ; +0x2e, 0x1800486ce\nlea     rax, [rcx+58h]                                                 ; +0x33, 0x1800486d3\njbe     short loc_1800486DC                                            ; +0x37, 0x1800486d7\nmov     rax, [rax]                                                     ; +0x39, 0x1800486d9\nmov     rdx, rcx                                                       ; +0x3c, 0x1800486dc\nmov     [rsp+38h+var_18], rax                                          ; +0x3f, 0x1800486df\nlea     rcx, aCcbmfontconfig; \"<CCBMFontConfiguration = %08lX | Glphys\"... ; +0x44, 0x1800486e4\ncall    ?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x4b, 0x1800486eb\nmov     rcx, rax; this                                                 ; +0x50, 0x1800486f0\nadd     rsp, 38h                                                       ; +0x53, 0x1800486f3\njmp     ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x57, 0x1800486f7", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b192c"], "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"}