{"type": "func", "start": 6442476912, "end": 6442477020, "name": "cocos2d::extension::CCControlButton::getTitleBMFontForState", "pseudocode": "// \n// cocos2d::extension::CCControlButton::getTitleBMFontForState from 0x180006570 to 0x1800065dc (108 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180026738\n// > <???> @ 0x18002a6b0\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b600\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:36 +0000\n// \n\nchar *__fastcall cocos2d::extension::CCControlButton::getTitleBMFontForState(cocos2d::extension::CCControlButton *this)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n  cocos2d::CCLabelBMFont *v3; // rax\n\n  v1 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1240LL))(this);\n  v2 = _RTDynamicCast(\n         v1,\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n         0);\n  v3 = (cocos2d::CCLabelBMFont *)_RTDynamicCast(\n                                   v2,\n                                   0,\n                                   &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n                                   &cocos2d::CCLabelBMFont `RTTI Type Descriptor',\n                                   0);\n  if ( v3 )\n    return (char *)cocos2d::CCLabelBMFont::getFntFile(v3);\n  else\n    return byte_180025968;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::getTitleBMFontForState from 0x180006570 to 0x1800065dc (108 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180026738\n; > <???> @ 0x18002a6b0\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b600\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:36 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x180006570\nmov     rax, [rcx]                                                     ; +0x4, 0x180006574\ncall    qword ptr [rax+4D8h]                                           ; +0x7, 0x180006577\nlea     r9, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0xd, 0x18000657d\nmov     [rsp+38h+var_18], 0                                            ; +0x14, 0x180006584\nmov     rcx, rax                                                       ; +0x1c, 0x18000658c\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x1f, 0x18000658f\nxor     edx, edx                                                       ; +0x26, 0x180006596\ncall    __RTDynamicCast                                                ; +0x28, 0x180006598\nlea     r9, ??_R0?AVCCLabelBMFont@cocos2d@@@8; cocos2d::CCLabelBMFont `RTTI Type Descriptor' ; +0x2d, 0x18000659d\nmov     [rsp+38h+var_18], 0                                            ; +0x34, 0x1800065a4\nlea     r8, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x3c, 0x1800065ac\nxor     edx, edx                                                       ; +0x43, 0x1800065b3\nmov     rcx, rax                                                       ; +0x45, 0x1800065b5\ncall    __RTDynamicCast                                                ; +0x48, 0x1800065b8\ntest    rax, rax                                                       ; +0x4d, 0x1800065bd\njz      short loc_1800065D0                                            ; +0x50, 0x1800065c0\nmov     rcx, rax                                                       ; +0x52, 0x1800065c2\nadd     rsp, 38h                                                       ; +0x55, 0x1800065c5\njmp     cs:?getFntFile@CCLabelBMFont@cocos2d@@QEAAPEBDXZ; cocos2d::CCLabelBMFont::getFntFile(void) ; +0x59, 0x1800065c9\nlea     rax, byte_180025968                                            ; +0x60, 0x1800065d0\nadd     rsp, 38h                                                       ; +0x67, 0x1800065d7\nretn                                                                   ; +0x6b, 0x1800065db", "xrefs": ["<???> @ 0x180026738", "<???> @ 0x18002a6b0", "<???> @ 0x180032408", "<???> @ 0x18004b600"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}