//
// GameToolbox::intToString from 0x2efc04 to 0x2efc62 (94 bytes)
//
// 79 xrefs:
// > CCCounterLabel::updateString @ 0x2e58e4
// > GameToolbox::timestampToHumanReadable @ 0x2efcc6
// > GameToolbox::timestampToHumanReadable @ 0x2efd02
// > GameToolbox::timestampToHumanReadable @ 0x2efd3e
// > GameToolbox::timestampToHumanReadable @ 0x2efd7a
// > GameToolbox::timestampToHumanReadable @ 0x2efda8
// > GameToolbox::pointsToString @ 0x2efe68
// > GameToolbox::pointsToString @ 0x2efe7c
// > FindBPMLayer::registerTouch @ 0x309cec
// > PlayLayer::updateTimeLabel @ 0x30ec88
// > PlayLayer::updateProgressbar @ 0x312804
// > CommentCell::onGoToLevel @ 0x32f39a
// > LevelCell::loadCustomLevelCell @ 0x331c76
// > OptionsCell::loadFromObject @ 0x33577c
// > CommentCell::loadFromComment @ 0x3368ba
// > LevelListCell::loadFromList @ 0x33a878
// > LevelEditorLayer::updateObjectLabel @ 0x3673de
// > EditorUI::updateObjectInfoLabel @ 0x3a0c8c
// > EditorUI::setIDPopupClosed @ 0x3a2f9e
// > LevelBrowserLayer::onMyOnlineLevels @ 0x3bd5a6
// > LevelBrowserLayer::onMyOnlineLevels @ 0x3bd5e2
// > GameLevelManager::writeSpecialFilters @ 0x3c0b3a
// > GameLevelManager::writeSpecialFilters @ 0x3c0b9c
// > GJLevelList::showListInfo @ 0x3cddd0
// > GameLevelManager::createNewLevelList @ 0x3ce530
// > GJLevelList::getListLevelsArray @ 0x3cef62
// > GJLevelList::getListLevelsArray @ 0x3cef96
// > GJLevelList::getListLevelsArray @ 0x3cf048
// > GameLevelManager::uploadLevelList @ 0x3d4ea4
// > GameLevelManager::uploadLevelList @ 0x3d4fdc
// > GameLevelManager::deleteServerLevelList @ 0x3d5224
// > GameLevelManager::updateUserScore @ 0x3d5f14
// > GameLevelManager::updateUserScore @ 0x3d5f3a
// > GameLevelManager::updateUserScore @ 0x3d5f60
// > GameLevelManager::updateUserScore @ 0x3d5ff8
// > GameLevelManager::updateUserScore @ 0x3d6020
// > GameLevelManager::updateUserScore @ 0x3d6048
// > GJLevelList::removeLevelFromList @ 0x3d663e
// > GJLevelList::addLevelToList @ 0x3d7d1a
// > CustomSongWidget::updateMultiAssetInfo @ 0x3dfc04
// > CustomSongWidget::updateMultiAssetInfo @ 0x3dfc34
// > CustomSongWidget::updateMultiAssetInfo @ 0x3dfc98
// > CustomSongWidget::updateMultiAssetInfo @ 0x3dfccc
// > LabelGameObject::updateLabel @ 0x3eb1ee
// > GameStatsManager::getStatFromKey @ 0x413e6e
// > GameStatsManager::tryFixPathBug @ 0x419e2a
// > GameStatsManager::tryFixPathBug @ 0x419ec4
// > GameStatsManager::trySelectActivePath @ 0x41ba6c
// > GameStatsManager::trySelectActivePath @ 0x41baa0
// > GameStatsManager::incrementActivePath @ 0x41bb10
// > InfoLayer::onCopyLevelID @ 0x42f370
// > GJRateLevelLayer::setupRateInfo @ 0x453fce
// > MusicDownloadManager::generateCustomContentURL @ 0x45886a
// > MusicDownloadManager::generateCustomContentURL @ 0x45889a
// > MusicDownloadManager::pathForSFX @ 0x4595bc
// > MusicDownloadManager::pathForSong @ 0x45987a
// > MusicDownloadManager::downloadCustomSong @ 0x459c5a
// > MusicDownloadManager::downloadSFX @ 0x45a01a
// > CustomizeObjectLayer::updateKerningLabel @ 0x4614ec
// > GJBaseGameLayer::updatePlatformerTime @ 0x4839ac
// > GJBaseGameLayer::updateSpecialLabels @ 0x483afc
// > GJBaseGameLayer::updateTimerLabels @ 0x48e074
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x4f58cc
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x4f5924
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x557f3a
// > SetupAdvFollowPopup::init @ 0x55fb68
// > LevelSettingsLayer::init @ 0x57239c
// > LevelSettingsLayer::init @ 0x5725ac
// > getItemVarName @ 0x57a274
// > SelectEventLayer::addToggle @ 0x57f0aa
// > GJPathSprite::addRankLabel @ 0x58c7e6
// > LevelListLayer::onRefreshLevelList @ 0x58ee3c
// > UploadListPopup::listUploadFailed @ 0x58f940
// > LevelListLayer::updateStatsArt @ 0x59047a
// > LevelListLayer::init @ 0x59087e
// > AudioAssetsBrowser::onInfo @ 0x59b2e2
// > AudioAssetsBrowser::onInfo @ 0x59b30a
// > AudioAssetsBrowser::onInfo @ 0x59b36a
// > AudioAssetsBrowser::onInfo @ 0x59b392
//
// 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
//
GameToolbox *__fastcall GameToolbox::intToString(GameToolbox *this, int a2)
{
char *v3; // r0
unsigned int v5[3]; // [sp+4h] [bp-204h] BYREF
char v6; // [sp+10h] [bp-1F8h] BYREF
v5[0] = 0;
v5[1] = 500;
v5[2] = (unsigned int)&v6;
fmt::BasicWriter::operator<<(v5, a2);
v3 = (char *)fmt::BasicWriter::c_str((int *)v5);
sub_776584((int)this, v3);
fmt::internal::Array::free((int)v5);
return this;
}