//
// GameToolbox::intToString from 0x140069090 to 0x140069145 (181 bytes)
//
// 75 xrefs:
// > CCCounterLabel::updateString @ 0x140043322
// > GameToolbox::timestampToHumanReadable @ 0x1400693de
// > GameToolbox::timestampToHumanReadable @ 0x14006945a
// > GameToolbox::timestampToHumanReadable @ 0x1400694da
// > GameToolbox::timestampToHumanReadable @ 0x14006955a
// > GameToolbox::timestampToHumanReadable @ 0x1400695c9
// > GameToolbox::pointsToString @ 0x1400697d9
// > GameToolbox::pointsToString @ 0x1400697f8
// > AudioAssetsBrowser::onInfo @ 0x1400840a8
// > AudioAssetsBrowser::onInfo @ 0x1400840ee
// > FindBPMLayer::registerTouch @ 0x14009be50
// > CustomizeObjectLayer::updateKerningLabel @ 0x1400a7d85
// > LevelCell::loadCustomLevelCell @ 0x1400ae323
// > OptionsCell::loadFromObject @ 0x1400b52b1
// > CommentCell::loadFromComment @ 0x1400b739a
// > CommentCell::onGoToLevel @ 0x1400b836a
// > LevelListCell::loadFromList @ 0x1400bf010
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc78e
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc7e5
// > EditorUI::setIDPopupClosed @ 0x1400e6da9
// > GameLevelManager::writeSpecialFilters @ 0x14014dae2
// > GameLevelManager::writeSpecialFilters @ 0x14014dbba
// > GameLevelManager::uploadLevelList @ 0x14014fe38
// > GameLevelManager::uploadLevelList @ 0x140150073
// > GameLevelManager::deleteServerLevelList @ 0x140150450
// > GameLevelManager::updateUserScore @ 0x14015662b
// > GameLevelManager::updateUserScore @ 0x140156672
// > GameLevelManager::updateUserScore @ 0x1401566b8
// > GameLevelManager::updateUserScore @ 0x1401569bc
// > GameLevelManager::updateUserScore @ 0x140156a03
// > GameLevelManager::updateUserScore @ 0x140156a49
// > GJLevelList::showListInfo @ 0x140177a56
// > GameStatsManager::incrementStat @ 0x1401d45e1
// > GameStatsManager::trySelectActivePath @ 0x1401d46ea
// > GameStatsManager::trySelectActivePath @ 0x1401d4780
// > GameStatsManager::tryFixPathBug @ 0x1401d4956
// > GameStatsManager::tryFixPathBug @ 0x1401d498c
// > GameStatsManager::tryFixPathBug @ 0x1401d4d59
// > GameStatsManager::tryFixPathBug @ 0x1401d4d92
// > GameStatsManager::verifyPathAchievements @ 0x1401d4f99
// > GameStatsManager::dataLoaded @ 0x1401f25ab
// > GameStatsManager::dataLoaded @ 0x1401f29c2
// > GJBaseGameLayer::updateSpecialLabels @ 0x140239577
// > GJBaseGameLayer::updatePlatformerTime @ 0x1402397df
// > GJPathsLayer::onPath @ 0x140285243
// > GJPathPage::init @ 0x14028621f
// > GJPathPage::init @ 0x14028629f
// > GJPathSprite::updateState @ 0x1402892e3
// > GJPathSprite::updateState @ 0x140289339
// > InfoLayer::onCopyLevelID @ 0x1402bd2d1
// > LevelBrowserLayer::onMyOnlineLevels @ 0x1402ce2a1
// > LevelBrowserLayer::onMyOnlineLevels @ 0x1402ce360
// > LevelEditorLayer::updateObjectLabel @ 0x1402d7992
// > LevelListLayer::init @ 0x14030388c
// > LevelListLayer::updateStatsArt @ 0x140305e57
// > LevelListLayer::onRefreshLevelList @ 0x1403067c3
// > UploadListPopup::listUploadFailed @ 0x14030b9d7
// > LevelSettingsLayer::init @ 0x140320755
// > LevelSettingsLayer::init @ 0x140320a07
// > MusicDownloadManager::pathForSong @ 0x14033f510
// > MusicDownloadManager::pathForSFX @ 0x14033f855
// > MusicDownloadManager::downloadCustomSong @ 0x14034038a
// > MusicDownloadManager::downloadSFX @ 0x1403422b0
// > MusicDownloadManager::generateCustomContentURL @ 0x140343b22
// > MusicDownloadManager::generateCustomContentURL @ 0x140343b3c
// > PlayLayer::updateProgressbar @ 0x1403b24e7
// > PlayLayer::updateTimeLabel @ 0x1403b2613
// > SetupAdvFollowPopup::init @ 0x140402f88
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x14040dc4c
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x14041a7ed
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x14041a86b
// > SetupSFXPopup::onClose @ 0x140448681
// > SelectEventLayer::addToggle @ 0x140467993
// > sub_14046C070 @ 0x14046c169
// > ??> @ 0x1406c5e5c
//
// 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
_QWORD *__fastcall GameToolbox::intToString(_QWORD *a1, unsigned int a2)
{
_BYTE *v4; // rax
size_t v5; // r8
_BYTE v7[528]; // [rsp+30h] [rbp-228h] BYREF
fmt::BasicWriter::BasicWriter(v7);
fmt::BasicWriter::operator<<(v7, a2);
v4 = (_BYTE *)fmt::BasicWriter::c_str(v7);
*(_OWORD *)a1 = 0;
a1[2] = 0;
a1[3] = 0;
v5 = -1;
do
++v5;
while ( v4[v5] );
sub_14003A930(a1, v4, v5);
fmt::BasicWriter::~BasicWriter(v7);
return a1;
}