//
// sub_1401A2E30 from 0x1401a2e30 to 0x1401a2ef1 (193 bytes)
//
// 3 xrefs:
// > GameObject::setupCustomSprites @ 0x1401b4c68
// > GameObject::setupCustomSprites @ 0x1401bbadb
// > ??> @ 0x1406cc030
//
// 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
//
__int64 __fastcall sub_1401A2E30(__int64 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]
cocos2d::CCPoint v9; // [rsp+68h] [rbp+20h] BYREF
if ( a2 )
*(_BYTE *)(a1 + 559) = 1;
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x20u);
v7 = 26;
v8 = 31;
strcpy((char *)v6, "blockOutline_15new_001.png");
cocos2d::CCPoint::CCPoint(&v9);
v4 = GameObject::addCustomChild(a1, (const char *)&v6, v3, 2u);
return ((__int64 (__fastcall *)(struct cocos2d::CCSprite *))v4->setRotation)(v4);
}