//
// cocos2d::extension::CCControlButton::getBackgroundSpriteForState from 0xd0cea0 to 0xd0cee0 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0xa6930
// > ??> @ 0x150aa70
// > ??> @ 0x15101f0
//
// This function is hookable on this platform (idp: arm, 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 13:07:00 +0000
//
__int64 __fastcall cocos2d::extension::CCControlButton::getBackgroundSpriteForState(
cocos2d::CCDictionary **this,
unsigned int a2)
{
__int64 result; // x0
result = cocos2d::CCDictionary::objectForKey(*(this + 69), a2);
if ( !result )
return cocos2d::CCDictionary::objectForKey(*(this + 69), 1);
return result;
}