; ; cocos2d::extension::CCControlButton::getTitleBMFontForState from 0x180006570 to 0x1800065dc (108 bytes) ; ; 4 xrefs: ; > @ 0x180026738 ; > @ 0x18002a6b0 ; > @ 0x180032408 ; > @ 0x18004b600 ; ; This function is hookable on this platform (idp: pc, 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:15:36 +0000 ; sub rsp, 38h ; +0x0, 0x180006570 mov rax, [rcx] ; +0x4, 0x180006574 call qword ptr [rax+4D8h] ; +0x7, 0x180006577 lea r9, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0xd, 0x18000657d mov [rsp+38h+var_18], 0 ; +0x14, 0x180006584 mov rcx, rax ; +0x1c, 0x18000658c lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x1f, 0x18000658f xor edx, edx ; +0x26, 0x180006596 call __RTDynamicCast ; +0x28, 0x180006598 lea r9, ??_R0?AVCCLabelBMFont@cocos2d@@@8; cocos2d::CCLabelBMFont `RTTI Type Descriptor' ; +0x2d, 0x18000659d mov [rsp+38h+var_18], 0 ; +0x34, 0x1800065a4 lea r8, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x3c, 0x1800065ac xor edx, edx ; +0x43, 0x1800065b3 mov rcx, rax ; +0x45, 0x1800065b5 call __RTDynamicCast ; +0x48, 0x1800065b8 test rax, rax ; +0x4d, 0x1800065bd jz short loc_1800065D0 ; +0x50, 0x1800065c0 mov rcx, rax ; +0x52, 0x1800065c2 add rsp, 38h ; +0x55, 0x1800065c5 jmp cs:?getFntFile@CCLabelBMFont@cocos2d@@QEAAPEBDXZ; cocos2d::CCLabelBMFont::getFntFile(void) ; +0x59, 0x1800065c9 lea rax, byte_180025968 ; +0x60, 0x1800065d0 add rsp, 38h ; +0x67, 0x1800065d7 retn ; +0x6b, 0x1800065db