{"type": "func", "start": 6442475280, "end": 6442475390, "name": "cocos2d::extension::CCControlButton::setTitleForState", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setTitleForState from 0x180005f10 to 0x180005f7e (110 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800266e8\n// > <???> @ 0x18002a660\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b588\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\nvoid __fastcall cocos2d::extension::CCControlButton::setTitleForState(\n        cocos2d::CCDictionary **this,\n        struct cocos2d::CCString *a2,\n        unsigned int a3)\n{\n  cocos2d::CCDictionary::removeObjectForKey(*(this + 66), a3);\n  if ( a2 )\n    cocos2d::CCDictionary::setObject(*(this + 66), a2, a3);\n  if ( *((_DWORD *)this + 109) == a3 )\n    (*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 135))(this);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setTitleForState from 0x180005f10 to 0x180005f7e (110 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800266e8\n; > <???> @ 0x18002a660\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b588\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180005f10\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180005f15\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180005f1a\npush    rdi                                                            ; +0xf, 0x180005f1f\nsub     rsp, 20h                                                       ; +0x10, 0x180005f20\nmov     rsi, rdx                                                       ; +0x14, 0x180005f24\nmov     edi, r8d                                                       ; +0x17, 0x180005f27\nmov     rbx, rcx                                                       ; +0x1a, 0x180005f2a\nmov     edx, r8d                                                       ; +0x1d, 0x180005f2d\nmov     rcx, [rcx+210h]                                                ; +0x20, 0x180005f30\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x27, 0x180005f37\ntest    rsi, rsi                                                       ; +0x2d, 0x180005f3d\njz      short loc_180005F55                                            ; +0x30, 0x180005f40\nmov     rcx, [rbx+210h]                                                ; +0x32, 0x180005f42\nmov     r8d, edi                                                       ; +0x39, 0x180005f49\nmov     rdx, rsi                                                       ; +0x3c, 0x180005f4c\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x3f, 0x180005f4f\ncmp     [rbx+1B4h], edi                                                ; +0x45, 0x180005f55\njnz     short loc_180005F69                                            ; +0x4b, 0x180005f5b\nmov     rax, [rbx]                                                     ; +0x4d, 0x180005f5d\nmov     rcx, rbx                                                       ; +0x50, 0x180005f60\ncall    qword ptr [rax+438h]                                           ; +0x53, 0x180005f63\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x59, 0x180005f69\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x5e, 0x180005f6e\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x63, 0x180005f73\nadd     rsp, 20h                                                       ; +0x68, 0x180005f78\npop     rdi                                                            ; +0x6c, 0x180005f7c\nretn                                                                   ; +0x6d, 0x180005f7d", "xrefs": ["<???> @ 0x1800266e8", "<???> @ 0x18002a660", "<???> @ 0x180032408", "<???> @ 0x18004b588"], "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"}