{"type": "func", "start": 6442477152, "end": 6442477209, "name": "cocos2d::extension::CCControlButton::getTitleLabelForState", "pseudocode": "// \n// cocos2d::extension::CCControlButton::getTitleLabelForState from 0x180006660 to 0x180006699 (57 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800241b8\n// > <???> @ 0x180028000\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049660\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\nstruct cocos2d::CCNode *__fastcall cocos2d::extension::CCControlButton::getTitleLabelForState(\n        cocos2d::CCDictionary **this,\n        unsigned int a2)\n{\n  struct cocos2d::CCNode *result; // rax\n\n  result = cocos2d::CCDictionary::objectForKey(*(this + 68), a2);\n  if ( !result )\n    return cocos2d::CCDictionary::objectForKey(*(this + 68), 1);\n  return result;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::getTitleLabelForState from 0x180006660 to 0x180006699 (57 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800241b8\n; > <???> @ 0x180028000\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049660\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\npush    rbx                                                            ; +0x0, 0x180006660\nsub     rsp, 20h                                                       ; +0x2, 0x180006662\nmov     rbx, rcx                                                       ; +0x6, 0x180006666\nmov     edx, edx                                                       ; +0x9, 0x180006669\nmov     rcx, [rcx+220h]                                                ; +0xb, 0x18000666b\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x12, 0x180006672\ntest    rax, rax                                                       ; +0x18, 0x180006678\njnz     short loc_180006693                                            ; +0x1b, 0x18000667b\nmov     rcx, [rbx+220h]                                                ; +0x1d, 0x18000667d\nlea     edx, [rax+1]                                                   ; +0x24, 0x180006684\nadd     rsp, 20h                                                       ; +0x27, 0x180006687\npop     rbx                                                            ; +0x2b, 0x18000668b\njmp     cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x2c, 0x18000668c\nadd     rsp, 20h                                                       ; +0x33, 0x180006693\npop     rbx                                                            ; +0x37, 0x180006697\nretn                                                                   ; +0x38, 0x180006698", "xrefs": ["<???> @ 0x1800241b8", "<???> @ 0x180028000", "<???> @ 0x18002fdf8", "<???> @ 0x180049660"], "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"}