//
// GameObject::addNewSlope02 from 0x10069d100 to 0x10069d1d4 (212 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x10043ac8c
// > GameObject::setupCustomSprites @ 0x10044ae29
//
// 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 12:35:16 +0000
//
__int64 __fastcall GameObject::addNewSlope02(_BYTE *a1, int a2)
{
char *v2; // rbx
char *v3; // r15
unsigned __int64 v5; // [rsp+0h] [rbp-30h] BYREF
double v6; // [rsp+8h] [rbp-28h] BYREF
unsigned __int64 v7[4]; // [rsp+10h] [rbp-20h] BYREF
if ( a2 )
a1[559] = 1;
v2 = (char *)operator new(0x20u);
strcpy(v2, "blockOutline_15new_001.png");
sub_1002782D0(v7, &qword_100BE5C00);
a1[886] = 1;
cocos2d::CCNode::convertToNodeSpace((double *)&v5, (__int64)a1, (unsigned int *)&qword_100BE5C00);
v3 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v2, 1.382033142703499e267);
sub_100278350(&v6, &v5, v7);
(*(void (__fastcall **)(char *, double *))(*(_QWORD *)v3 + 184LL))(v3, &v6);
(*(void (__fastcall **)(_BYTE *, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 2);
operator delete(v2);
return (*(__int64 (__fastcall **)(char *, float))(*(_QWORD *)v3 + 360LL))(v3, -26.5);
}