//
// cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0x5a19b6 to 0x5a19d4 (30 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::extension::CCScale9Sprite *cocos2d::extension::CCControlButton::getBackgroundSpriteForState(
cocos2d::extension::CCControlButton *a1,
unsigned int a2)
{
cocos2d::extension::CCScale9Sprite *result; // r0
result = (cocos2d::extension::CCScale9Sprite *)cocos2d::CCDictionary::objectForKey(
(cocos2d::CCDictionary *)LODWORD(a1[1].m_fRotationX),
a2);
if ( !result )
return (cocos2d::extension::CCScale9Sprite *)cocos2d::CCDictionary::objectForKey(
(cocos2d::CCDictionary *)LODWORD(a1[1].m_fRotationX),
1);
return result;
}