//
// LabelGameObject::addMainSpriteToParent from 0x140655140 to 0x1406551a2 (98 bytes)
//
// 2 xrefs:
// > ??> @ 0x14082e480
// > ??> @ 0x1409316e8
//
// 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:35:44 +0000
//
char __fastcall LabelGameObject::addMainSpriteToParent(__int64 a1, char a2)
{
char result; // al
__int64 v4; // rcx
__int64 v5; // [rsp+30h] [rbp+8h]
result = GameObject::addMainSpriteToParent((_BYTE *)a1, a2);
v4 = *(_QWORD *)(a1 + 1856);
if ( *(_BYTE *)(a1 + 892) )
v5 = 0x100000302LL;
else
v5 = 0x30300000001LL;
if ( v4 )
return (**(__int64 (__fastcall ***)(__int64, __int64))(v4 + 320))(v4 + 320, v5);
return result;
}