//
// GJBaseGameLayer::updateQueuedLabels from 0x865914 to 0x8659b0 (156 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x89e490
// > ??> @ 0x2fb50
//
// 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
//
void GJBaseGameLayer::updateQueuedLabels(GJBaseGameLayer *a1)
{
std::__detail::_Hash_node_base *i; // x21
LabelGameObject **M_nxt; // x20
LabelGameObject **v4; // x19
LabelGameObject *v5; // x0
std::__detail::_Hash_node_base *j; // x21
LabelGameObject **v7; // x20
LabelGameObject **v8; // x19
LabelGameObject *v9; // x0
for ( i = a1->m_labelObjects._M_h._M_before_begin._M_nxt; i; i = i->_M_nxt )
{
M_nxt = (LabelGameObject **)i[3]._M_nxt;
v4 = (LabelGameObject **)i[2]._M_nxt;
while ( M_nxt != v4 )
{
while ( 1 )
{
v5 = *v4++;
if ( !v5->m_isActivated )
break;
LabelGameObject::updateLabelIfDirty(v5);
if ( M_nxt == v4 )
goto LABEL_6;
}
}
LABEL_6:
;
}
for ( j = a1->m_timeLabelObjects._M_h._M_before_begin._M_nxt; j; j = j->_M_nxt )
{
v7 = (LabelGameObject **)j[3]._M_nxt;
v8 = (LabelGameObject **)j[2]._M_nxt;
while ( v7 != v8 )
{
while ( 1 )
{
v9 = *v8++;
if ( !v9->m_isActivated )
break;
LabelGameObject::updateLabelIfDirty(v9);
if ( v7 == v8 )
goto LABEL_12;
}
}
LABEL_12:
;
}
}