//
// LabelGameObject::addMainSpriteToParent from 0x870044 to 0x8700bc (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x7b838
// > ??> @ 0x144ca20
//
// This function is hookable on this platform (idp: arm, 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:55:45 +0000
//
__int64 __fastcall LabelGameObject::addMainSpriteToParent(int **this, unsigned __int8 a2)
{
__int64 result; // x0
__int64 v4; // x1
GameObject::addMainSpriteToParent(this, a2);
if ( *((_BYTE *)this + 884) )
{
result = (__int64)*(this + 230);
v4 = 0x100000302LL;
if ( !result )
return result;
}
else
{
result = (__int64)*(this + 230);
v4 = 0x30300000001LL;
if ( !result )
return result;
}
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v4);
}