//
// GameObject::addNewSlope01 from 0x3595f8 to 0x359666 (110 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x518384
// > GameObject::setupCustomSprites @ 0x519512
//
// 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 GameObject::addNewSlope01(GameObject *a1, bool a2)
{
cocos2d::CCSprite *v3; // r6
const char *v4; // [sp+8h] [bp-14h] BYREF
cocos2d::CCPoint v5; // [sp+Ch] [bp-10h] BYREF
if ( a2 )
a1->m_bDontDraw = 1;
sub_776584((int)&v4, "blockOutline_14new_001.png");
cocos2d::CCPoint::CCPoint(&v5, &stru_AC5CA0);
v3 = GameObject::addCustomChild(a1, &v4, (int)&v5, 2);
sub_774008(&v4);
((void (__fastcall *)(cocos2d::CCSprite *, int))v3->setRotation)(v3, -1036779520);
}