{"type": "func", "start": 6442477024, "end": 6442477083, "name": "cocos2d::extension::CCControlButton::getBackgroundSpriteForState", "pseudocode": "// \n// cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0x1800065e0 to 0x18000661b (59 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180026740\n// > <???> @ 0x18002a6b8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b60c\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\nstruct cocos2d::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCControlButton::getBackgroundSpriteForState(\n        cocos2d::CCDictionary **this,\n        unsigned int a2)\n{\n  struct cocos2d::extension::CCScale9Sprite *result; // rax\n\n  result = cocos2d::CCDictionary::objectForKey(*(this + 69), a2);\n  if ( !result )\n    return cocos2d::CCDictionary::objectForKey(*(this + 69), 1);\n  return result;\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0x1800065e0 to 0x18000661b (59 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180026740\n; > <???> @ 0x18002a6b8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b60c\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; \npush    rbx                                                            ; +0x0, 0x1800065e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800065e2\nmov     rbx, rcx                                                       ; +0x6, 0x1800065e6\nmov     edx, edx                                                       ; +0x9, 0x1800065e9\nmov     rcx, [rcx+228h]                                                ; +0xb, 0x1800065eb\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x12, 0x1800065f2\ntest    rax, rax                                                       ; +0x18, 0x1800065f8\njnz     short loc_180006615                                            ; +0x1b, 0x1800065fb\nmov     rcx, [rbx+228h]                                                ; +0x1d, 0x1800065fd\nmov     edx, 1                                                         ; +0x24, 0x180006604\nadd     rsp, 20h                                                       ; +0x29, 0x180006609\npop     rbx                                                            ; +0x2d, 0x18000660d\njmp     cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x2e, 0x18000660e\nadd     rsp, 20h                                                       ; +0x35, 0x180006615\npop     rbx                                                            ; +0x39, 0x180006619\nretn                                                                   ; +0x3a, 0x18000661a", "xrefs": ["<???> @ 0x180026740", "<???> @ 0x18002a6b8", "<???> @ 0x180032408", "<???> @ 0x18004b60c"], "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"}