// // GameToolbox::intToShortString from 0x140073ff0 to 0x140074178 (392 bytes) // // 18 xrefs: // > SongUsagePopup::songUsageFinished @ 0x140102ba8 // > SongUsagePopup::songUsageFinished @ 0x140102bf0 // > SongUsagePopup::songUsageFinished @ 0x140102cbb // > SongUsagePopup::songUsageFinished @ 0x140102d03 // > LevelCell::loadCustomLevelCell @ 0x14014bb8d // > LevelCell::loadCustomLevelCell @ 0x14014bd2c // > GJCompactUserCell::addStat @ 0x1401589d5 // > LevelListCell::loadFromList @ 0x14015f06a // > LevelListCell::loadFromList @ 0x14015f1fb // > EditorSoundConfigCell::loadFromConfig @ 0x1401912c6 // > EditorSoundConfigCell::loadFromConfig @ 0x1401913f6 // > EditorSoundConfigInfoLayer::init @ 0x140192c15 // > EditorSoundConfigInfoLayer::init @ 0x140192d43 // > EditorSoundConfigInfoLayer::refreshLikeState @ 0x1401947e5 // > LevelListLayer::updateStatsArt @ 0x14042d5cf // > LevelListLayer::updateStatsArt @ 0x14042d761 // > LevelListLayer::updateStatsArt @ 0x14042de19 // > @ 0x140911894 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:25:50 +0000 // // Hidden C++ exception states: #wind=1 __int16 *__fastcall GameToolbox::intToShortString(__int16 *a1, int a2, char a3) { float v6; // xmm0_4 __int16 *v7; // rax _BYTE *v8; // rax size_t v9; // r8 __int16 *v11; // [rsp+20h] [rbp-258h] BYREF __int64 v12; // [rsp+28h] [rbp-250h] _BYTE v13[528]; // [rsp+40h] [rbp-238h] BYREF v11 = a1; fmt::BasicWriter::BasicWriter(v13); if ( a2 < 0 ) { a2 = -a2; v11 = &word_14070EC0C; v12 = 0; fmt::BasicWriter::operator<<(v13, &v11); } if ( a2 >= 1000 ) { v6 = (float)a2; if ( a2 < 10000 ) goto LABEL_6; if ( a2 >= 1000000 ) { floorf(v6 / 100000.0); fmt::BasicWriter::operator<<(v13); v7 = (__int16 *)&unk_14070EC04; goto LABEL_12; } if ( a3 ) LABEL_6: floorf(v6 / 100.0); else floorf(v6 / 1000.0); fmt::BasicWriter::operator<<(v13); v7 = (__int16 *)&unk_14070EC00; LABEL_12: v11 = v7; v12 = 0; fmt::BasicWriter::operator<<(v13, &v11); goto LABEL_13; } fmt::BasicWriter::operator<<(v13, (unsigned int)a2); LABEL_13: v8 = (_BYTE *)fmt::BasicWriter::c_str(v13); *(_OWORD *)a1 = 0; *((_QWORD *)a1 + 2) = 0; *((_QWORD *)a1 + 3) = 0; v9 = -1; do ++v9; while ( v8[v9] ); sub_14003D230(a1, v8, v9); fmt::BasicWriter::~BasicWriter(v13); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source