//
// GJBaseGameLayer::updateQueuedLabels from 0x595bbc to 0x595c0a (78 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::update @ 0x5be1ca
//
// 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:53:08 +0000
//
int __fastcall GJBaseGameLayer::updateQueuedLabels(int this, int a2, int a3)
{
int v3; // r6
_DWORD *i; // r4
int *v5; // r7
int *v6; // r5
int v7; // t1
int v8; // r3
_DWORD *j; // r4
int *v10; // r6
int *v11; // r5
int v12; // t1
int v13; // r3
v3 = this;
for ( i = *(_DWORD **)(this + 2484); i; i = (_DWORD *)*i )
{
v5 = (int *)i[4];
v6 = (int *)i[3];
while ( v6 != v5 )
{
v7 = *v6++;
this = v7;
v8 = *(unsigned __int8 *)(v7 + 657);
if ( *(_BYTE *)(v7 + 657) )
this = LabelGameObject::updateLabelIfDirty(this, a2, a3, v8);
}
}
for ( j = *(_DWORD **)(v3 + 2504); j; j = (_DWORD *)*j )
{
v10 = (int *)j[4];
v11 = (int *)j[3];
while ( v11 != v10 )
{
v12 = *v11++;
this = v12;
v13 = *(unsigned __int8 *)(v12 + 657);
if ( *(_BYTE *)(v12 + 657) )
this = LabelGameObject::updateLabelIfDirty(this, a2, a3, v13);
}
}
return this;
}