//
// LabelGameObject::updateLabelIfDirty from 0x4ec7a0 to 0x4ec7ec (76 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateQueuedLabels @ 0x595bda
// > GJBaseGameLayer::updateQueuedLabels @ 0x595bfe
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:09 +0000
//
int __fastcall LabelGameObject::updateLabelIfDirty(int this, int a2, int a3, int a4)
{
int v4; // r6
int v5[4]; // [sp+0h] [bp-10h] BYREF
v5[0] = this;
v5[1] = a2;
v5[2] = a3;
v5[3] = a4;
v4 = this;
if ( *(_BYTE *)(this + 1652) )
{
std::string::basic_string(v5, this + 1656);
LabelGameObject::updateLabel(v4, (int)v5);
return std::string::~string((int)v5);
}
return this;
}