// // LabelGameObject::updatePreviewLabel from 0x1404b3890 to 0x1404b3a50 (448 bytes) // // 6 xrefs: // > LevelEditorLayer::init @ 0x1402d2d73 // > LevelEditorLayer::init @ 0x1402d2db3 // > LevelEditorLayer::onStopPlaytest @ 0x1402e0c63 // > LevelEditorLayer::onStopPlaytest @ 0x1402e0ca3 // > SetItemIDLayer::onClose @ 0x140401bb3 // > @ 0x1406dcae8 // // 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 // // Hidden C++ exception states: #wind=1 void LabelGameObject::updatePreviewLabel(LabelGameObject *a1) { int m_shownSpecial; // eax const char *v3; // rax _BYTE *v4; // rax size_t v5; // r8 _QWORD v6[2]; // [rsp+20h] [rbp-E0h] BYREF __int128 v7; // [rsp+30h] [rbp-D0h] BYREF __int64 v8; // [rsp+40h] [rbp-C0h] __int64 v9; // [rsp+48h] [rbp-B8h] _BYTE v10[528]; // [rsp+50h] [rbp-B0h] BYREF m_shownSpecial = a1->m_shownSpecial; switch ( m_shownSpecial ) { case -1: v7 = 0; v8 = 4; v9 = 15; strcpy((char *)&v7, "C:GT"); LabelGameObject::updateLabel(a1, &v7); break; case -2: v7 = 0; v8 = 4; v9 = 15; strcpy((char *)&v7, "C:GP"); LabelGameObject::updateLabel(a1, &v7); break; case -3: v7 = 0; v8 = 4; v9 = 15; strcpy((char *)&v7, "C:AT"); LabelGameObject::updateLabel(a1, &v7); break; default: fmt::BasicWriter::BasicWriter(v10); v6[1] = 0; v3 = "T:"; if ( !a1->m_isTimeCounter ) v3 = "C:"; v6[0] = v3; fmt::BasicWriter::operator<<(v10, v6); fmt::BasicWriter::operator<<(v10, (unsigned int)a1->m_itemID); v4 = (_BYTE *)fmt::BasicWriter::c_str(v10); v7 = 0; v8 = 0; v9 = 0; v5 = -1; do ++v5; while ( v4[v5] ); sub_14003A930(&v7, v4, v5); LabelGameObject::updateLabel(a1, &v7); fmt::BasicWriter::~BasicWriter(v10); break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source