//
// cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0x1800065e0 to 0x18000661b (59 bytes)
//
// 4 xrefs:
// > ??> @ 0x180026740
// > ??> @ 0x18002a6b8
// > ??> @ 0x180032408
// > ??> @ 0x18004b60c
//
// 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
//
struct cocos2d::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCControlButton::getBackgroundSpriteForState(
cocos2d::CCDictionary **this,
unsigned int a2)
{
struct cocos2d::extension::CCScale9Sprite *result; // rax
result = cocos2d::CCDictionary::objectForKey(*(this + 69), a2);
if ( !result )
return cocos2d::CCDictionary::objectForKey(*(this + 69), 1);
return result;
}