//
// cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0xa9b310 to 0xa9b350 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x7cd70
// > ??> @ 0x11f52c0
// > ??> @ 0x11fa8d0
//
// 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; // x0
result = (cocos2d::extension::CCScale9Sprite *)cocos2d::CCDictionary::objectForKey(
*(cocos2d::CCDictionary **)&a1[1].m_obPosition.y,
a2);
if ( !result )
return (cocos2d::extension::CCScale9Sprite *)cocos2d::CCDictionary::objectForKey(
*(cocos2d::CCDictionary **)&a1[1].m_obPosition.y,
1);
return result;
}