// // LabelGameObject::updatePreviewLabel from 0x3f81d0 to 0x3f82d8 (264 bytes) // // 3 xrefs: // > GJBaseGameLayer::resetGroupCounters @ 0x47659c // > GJBaseGameLayer::resetGroupCounters @ 0x4765f0 // > SetItemIDLayer::updateEditorLabel @ 0x4f2996 // // 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 LabelGameObject::updatePreviewLabel(LabelGameObject *a1) { int m_shownSpecial; // r2 _BOOL4 m_isTimeCounter; // r3 char *v4; // r0 char *v5; // [sp+4h] [bp+4h] BYREF size_t v6; // [sp+8h] [bp+8h] unsigned int v7[3]; // [sp+Ch] [bp+Ch] BYREF char v8; // [sp+18h] [bp+18h] BYREF m_shownSpecial = a1->m_shownSpecial; switch ( m_shownSpecial ) { case -1: sub_776584((int)&v5, "C:GT"); LabelGameObject::updateLabel((int)a1, (int *)&v5); LABEL_7: sub_774008(&v5); return; case -2: sub_776584((int)&v5, "C:GP"); LabelGameObject::updateLabel((int)a1, (int *)&v5); goto LABEL_7; case -3: sub_776584((int)&v5, "C:AT"); LabelGameObject::updateLabel((int)a1, (int *)&v5); goto LABEL_7; } v7[0] = 0; v7[1] = 500; v7[2] = (unsigned int)&v8; m_isTimeCounter = a1->m_isTimeCounter; if ( a1->m_isTimeCounter ) { v6 = 0; v5 = "T:"; } else { v5 = "C:"; v6 = m_isTimeCounter; } fmt::BasicWriter::operator<<(v7, v5, v6); fmt::BasicWriter::operator<<(v7, a1->m_itemID); v4 = (char *)fmt::BasicWriter::c_str((int *)v7); sub_776584((int)&v5, v4); LabelGameObject::updateLabel((int)a1, (int *)&v5); sub_774008(&v5); fmt::internal::Array::free((int)v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source