; ; cocos2d::extension::CCControlButton::setTitleForState from 0x180005f10 to 0x180005f7e (110 bytes) ; ; 4 xrefs: ; > @ 0x1800266e8 ; > @ 0x18002a660 ; > @ 0x180032408 ; > @ 0x18004b588 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180005f10 mov [rsp+arg_8], rbp ; +0x5, 0x180005f15 mov [rsp+arg_10], rsi ; +0xa, 0x180005f1a push rdi ; +0xf, 0x180005f1f sub rsp, 20h ; +0x10, 0x180005f20 mov rsi, rdx ; +0x14, 0x180005f24 mov edi, r8d ; +0x17, 0x180005f27 mov rbx, rcx ; +0x1a, 0x180005f2a mov edx, r8d ; +0x1d, 0x180005f2d mov rcx, [rcx+210h] ; +0x20, 0x180005f30 call cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x27, 0x180005f37 test rsi, rsi ; +0x2d, 0x180005f3d jz short loc_180005F55 ; +0x30, 0x180005f40 mov rcx, [rbx+210h] ; +0x32, 0x180005f42 mov r8d, edi ; +0x39, 0x180005f49 mov rdx, rsi ; +0x3c, 0x180005f4c call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x3f, 0x180005f4f cmp [rbx+1B4h], edi ; +0x45, 0x180005f55 jnz short loc_180005F69 ; +0x4b, 0x180005f5b mov rax, [rbx] ; +0x4d, 0x180005f5d mov rcx, rbx ; +0x50, 0x180005f60 call qword ptr [rax+438h] ; +0x53, 0x180005f63 mov rbx, [rsp+28h+arg_0] ; +0x59, 0x180005f69 mov rbp, [rsp+28h+arg_8] ; +0x5e, 0x180005f6e mov rsi, [rsp+28h+arg_10] ; +0x63, 0x180005f73 add rsp, 20h ; +0x68, 0x180005f78 pop rdi ; +0x6c, 0x180005f7c retn ; +0x6d, 0x180005f7d