//
// GameObject::addNewSlope01 from 0x452bc8 to 0x452c3c (116 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x64a61c
// > GameObject::setupCustomSprites @ 0x64b8d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:37 +0000
//
int __fastcall GameObject::addNewSlope01(GameObject *this, int a2)
{
int v3; // r6
_BYTE v5[8]; // [sp+0h] [bp-1Ch] BYREF
int v6[3]; // [sp+8h] [bp-14h] BYREF
if ( a2 )
*((_BYTE *)this + 471) = 1;
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "blockOutline_14new_001.png", 0x1Au);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)&unk_D2B868);
v3 = GameObject::addCustomChild(this, (int)v6, (int)v5, 2);
std::string::~string((int)v6);
return (*(int (__fastcall **)(int, int))(*(_DWORD *)v3 + 180))(v3, -1036779520);
}