//
// cocos2d::extension::CCScale9Sprite::setBlendAdditive from 0x5a6cbc to 0x5a6cfa (62 bytes)
//
// 3 xrefs:
// > AchievementBar::init @ 0x42a396
// > GauntletNode::showUnlockAnimation @ 0x4d751a
// > GauntletNode::onUnlock @ 0x4d9e1e
//
// 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 cocos2d::extension::CCScale9Sprite::setBlendAdditive(cocos2d::extension::CCScale9Sprite *a1, bool a2)
{
bool v2; // zf
int v3; // r2
int v4; // r1
cocos2d::CCSpriteBatchNode *scale9Image; // r0
v2 = !a2;
v3 = 770;
if ( !a2 )
v3 = 1;
v4 = 771;
scale9Image = a1->_scale9Image;
if ( !v2 )
v4 = 1;
((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, int, int, void *, int, int))scale9Image->setBlendFunc)(
scale9Image,
v3,
v4,
&unk_9AE134,
v3,
v4);
}