//
// GameObject::addNewSlope02 from 0x14029fdd0 to 0x14029fe8e (190 bytes)
//
// 3 xrefs:
// > GameObject::setupCustomSprites @ 0x1402b2d7c
// > GameObject::setupCustomSprites @ 0x1402b9d78
// > ??> @ 0x14091d990
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:29:15 +0000
//
__int64 __fastcall GameObject::addNewSlope02(_BYTE *a1, char a2)
{
__int64 v3; // rax
struct cocos2d::CCSprite *v4; // rax
__int128 v6; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
char v9; // [rsp+68h] [rbp+20h] BYREF
if ( a2 )
a1[559] = 1;
v6 = 0;
v7 = 0;
v8 = 0;
*(_QWORD *)&v6 = sub_14003D460(0x20u);
v7 = 26;
v8 = 31;
strcpy((char *)v6, "blockOutline_15new_001.png");
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, (const struct cocos2d::CCPoint *)&unk_14090A8F0);
v4 = GameObject::addCustomChild(a1, (const char *)&v6, v3, 2u);
return (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v4 + 352LL))(v4);
}