//
// GameObject::addNewSlope02 from 0x100262b10 to 0x100262ba0 (144 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x1002b07e0
// > GameObject::setupCustomSprites @ 0x1002bf1ec
//
// 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 GameObject::addNewSlope02(GameObject *a1, bool a2)
{
cocos2d::CCSprite *v3; // x19
float32x2_t v4; // [xsp+0h] [xbp-30h] BYREF
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( a2 )
a1->m_bDontDraw = 1;
sub_100009900(__p, "blockOutline_15new_001.png");
sub_1000229B8((__int64 *)&v4, (__int64 *)&stru_10086D4E0);
v3 = GameObject::addCustomChild((__int64)a1, (const char *)__p, &v4, 2);
if ( v6 < 0 )
operator delete(__p[0]);
((void (__fastcall *)(cocos2d::CCSprite *, float))v3->setRotation)(v3, -26.5);
}