// // cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState from 0x180006d10 to 0x180006d45 (53 bytes) // // 4 xrefs: // > @ 0x180024208 // > @ 0x180028050 // > @ 0x18002fdf8 // > @ 0x1800496d8 // // 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 // void __fastcall cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState( cocos2d::extension::CCControlButton *this, struct cocos2d::CCSpriteFrame *a2, unsigned int a3) { struct cocos2d::extension::CCScale9Sprite *v5; // rax v5 = cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(a2); (*(void (__fastcall **)(cocos2d::extension::CCControlButton *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)this + 1296LL))( this, v5, a3); }