// // GameToolbox::intToShortString from 0x10004eb84 to 0x10004edc0 (572 bytes) // // 17 xrefs: // > LevelListCell::loadFromList @ 0x10012984c // > LevelListCell::loadFromList @ 0x1001299f4 // > LevelCell::loadCustomLevelCell @ 0x10013556c // > LevelCell::loadCustomLevelCell @ 0x100135720 // > sub_100139B88 @ 0x100139bcc // > LevelListLayer::updateStatsArt @ 0x1002e2878 // > LevelListLayer::updateStatsArt @ 0x1002e2a18 // > LevelListLayer::updateStatsArt @ 0x1002e2b7c // > EditorSoundConfigCell::loadFromConfig @ 0x1004cf218 // > EditorSoundConfigCell::loadFromConfig @ 0x1004cf34c // > sub_1004CF9C0 @ 0x1004d0388 // > sub_1004CF9C0 @ 0x1004d04c8 // > sub_1004D254C @ 0x1004d2628 // > SongUsagePopup::songUsageFinished @ 0x10052a9b4 // > SongUsagePopup::songUsageFinished @ 0x10052a9fc // > SongUsagePopup::songUsageFinished @ 0x10052aaa0 // > SongUsagePopup::songUsageFinished @ 0x10052aaf0 // // This function is hookable on this platform (idp: arm, 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 10:57:42 +0000 // void __usercall GameToolbox::intToShortString(__int64 a1@, _QWORD *a2@) { __int64 v2; // x20 __int64 v4; // x20 __int128 v5; // [xsp+0h] [xbp-270h] BYREF int v6; // [xsp+10h] [xbp-260h] char v7; // [xsp+14h] [xbp-25Ch] __int128 v8; // [xsp+20h] [xbp-250h] BYREF void *__p; // [xsp+30h] [xbp-240h] _BYTE v10[512]; // [xsp+38h] [xbp-238h] BYREF v2 = a1; v8 = xmmword_10075BA80; __p = v10; if ( (a1 & 0x80000000) != 0 ) { sub_10000CB50((__int64 *)&v8, "-", 0); v2 = (unsigned int)-(int)v2; } if ( (unsigned int)v2 > 0x3E7 ) { if ( (unsigned int)v2 >> 4 <= 0x270 || (unsigned int)v2 <= 0xF423F ) { v5 = xmmword_10075BDE0; v6 = -1; v7 = 0; sub_10008F008((int)&v8); sub_10000CB50((__int64 *)&v8, "K", 0); } else { v5 = xmmword_10075BDE0; v6 = -1; v7 = 0; sub_10008F008((int)&v8); sub_10000CB50((__int64 *)&v8, "M", 0); } } else { LODWORD(v5) = v2; sub_100009A40((int)&v8, v2, (int)&v5); } v4 = v8; if ( *((_QWORD *)&v8 + 1) < (unsigned __int64)(v8 + 1) ) sub_100009ED4((__int64)&v8, v8 + 1); *((_BYTE *)__p + v4) = 0; sub_100009900(a2, (char *)__p); if ( __p != v10 ) { if ( __p ) operator delete[](__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source