// // GameToolbox::pointsToString from 0x6a7eb4 to 0x6a81d4 (800 bytes) // // 45 xrefs: // > GJScoreCell::loadFromScore @ 0x743804 // > GJScoreCell::loadFromScore @ 0x743990 // > GJScoreCell::loadFromScore @ 0x743b5c // > GJScoreCell::loadFromScore @ 0x743cbc // > GJScoreCell::loadFromScore @ 0x743e74 // > GJScoreCell::loadFromScore @ 0x744038 // > GJScoreCell::loadFromScore @ 0x74434c // > GJLocalLevelScoreCell::loadFromScore @ 0x7491e8 // > GJLevelScoreCell::loadFromScore @ 0x749d44 // > PauseLayer::setupPlatformerLabels @ 0x7d7dec // > LevelInfoLayer::updateLabelValues @ 0x7e86a0 // > LevelInfoLayer::updateLabelValues @ 0x7e87ac // > LevelInfoLayer::setupPlatformerStats @ 0x7ea16c // > EndLevelLayer::customSetup @ 0x8fd188 // > GJBaseGameLayer::updateSpecialLabels @ 0x9dd140 // > DemonInfoPopup::init @ 0xa56efc // > DemonInfoPopup::init @ 0xa56f88 // > DemonInfoPopup::init @ 0xa57164 // > DemonInfoPopup::init @ 0xa571fc // > DemonInfoPopup::init @ 0xa57388 // > DemonInfoPopup::init @ 0xa57444 // > StarInfoPopup::init @ 0xa57aa4 // > StarInfoPopup::init @ 0xa57c04 // > StarInfoPopup::init @ 0xa57d70 // > StarInfoPopup::init @ 0xa57e30 // > StarInfoPopup::init @ 0xa57ef0 // > ProfilePage::onStatInfo @ 0xa590cc // > ProfilePage::onStatInfo @ 0xa590ec // > ProfilePage::loadPageFromUserInfo @ 0xa59938 // > ProfilePage::onInfo @ 0xa5dc38 // > ProfilePage::onInfo @ 0xa5dc5c // > ProfilePage::onInfo @ 0xa5dc80 // > ProfilePage::onInfo @ 0xa5dca4 // > ProfilePage::onInfo @ 0xa5dcc8 // > ProfilePage::onInfo @ 0xa5dcec // > ProfilePage::onInfo @ 0xa5dda4 // > GJShopLayer::init @ 0xa7fc28 // > PurchaseItemPopup::init @ 0xa80d18 // > GJPathPage::init @ 0xba6ff4 // > SongUsagePopup::buildUsageGrid @ 0xc8c8ec // > SongUsagePopup::songUsageFinished @ 0xc8dc48 // > LevelStatsInfoPopup::buildStatsText @ 0xcf8a20 // > LevelStatsInfoPopup::buildInfoText @ 0xcf8f14 // > LevelStatsInfoPopup::buildInfoText @ 0xcf9368 // > @ 0x55f48 // // 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 12:50:46 +0000 // unsigned __int64 *__usercall GameToolbox::pointsToString@(GameToolbox *this@, unsigned __int64 *a2@) { char v2; // w22 int v3; // w26 __int64 v4; // x24 int v5; // w21 char *v6; // x0 char *v7; // x1 char *v8; // x1 char v9; // w27 size_t v10; // x22 unsigned __int64 v11; // x2 unsigned __int64 v12; // x3 char v13; // w0 unsigned int v15; // [xsp+6Ch] [xbp+6Ch] unsigned __int64 v17; // [xsp+80h] [xbp+80h] BYREF __int64 v18; // [xsp+88h] [xbp+88h] void *v19; // [xsp+90h] [xbp+90h] unsigned __int64 v20; // [xsp+98h] [xbp+98h] BYREF unsigned __int64 v21; // [xsp+A0h] [xbp+A0h] void *v22; // [xsp+A8h] [xbp+A8h] unsigned __int64 v23; // [xsp+B0h] [xbp+B0h] BYREF __int64 v24; // [xsp+B8h] [xbp+B8h] void *v25; // [xsp+C0h] [xbp+C0h] unsigned __int64 v26[3]; // [xsp+C8h] [xbp+C8h] BYREF unsigned __int64 v27[3]; // [xsp+E0h] [xbp+E0h] BYREF if ( (unsigned int)((_DWORD)this + 999) <= 0x7CE ) { GameToolbox::intToString(a2, this); } else { v15 = (unsigned int)this >> 31; GameToolbox::intToString( &v17, (GameToolbox *)(((unsigned int)this ^ ((int)this >> 31)) + ((unsigned int)this >> 31))); v2 = v17; v20 = 0; v21 = 0; v3 = (unsigned __int8)v17 >> 1; v22 = nullptr; if ( (v17 & 1) != 0 ) v3 = v18; LODWORD(v4) = v3 - 1; if ( v3 - 1 >= 0 ) { v4 = (int)v4; v5 = 0; while ( 1 ) { ++v5; v8 = (char *)&v17 + 1; if ( (v2 & 1) != 0 ) v8 = (char *)v19; v9 = v8[v4]; v23 = 0; v10 = (unsigned __int8)v20 >> 1; v24 = 0; v25 = nullptr; if ( (v20 & 1) != 0 ) v10 = v21; if ( v10 + 1 > 0xFFFFFFFFFFFFFFEFLL ) sub_62B4D4(); if ( v10 + 1 <= 0x16 ) { LOBYTE(v23) = 2; v6 = (char *)&v23 + 1; } else { v6 = (char *)operator new((v10 + 17) & 0xFFFFFFFFFFFFFFF0LL); v25 = v6; v24 = 1; v23 = (v10 + 17) & 0xFFFFFFFFFFFFFFF0LL | 1; } *v6 = v9; v6[1] = 0; v7 = (char *)&v20 + 1; if ( (v20 & 1) != 0 ) v7 = (char *)v22; std::string::append((__int64)&v23, v7, v10); if ( (v20 & 1) != 0 ) { *(_BYTE *)v22 = 0; v21 = 0; } else { LOWORD(v20) = 0; } std::string::reserve((__int64 *)&v20, 0); v22 = v25; v20 = v23; v21 = v24; if ( v3 != v5 && v5 == 3 * (v5 / 3) ) { std::operator+(&byte_1169BE0, (__int64)&v20, v26); if ( (v20 & 1) != 0 ) { *(_BYTE *)v22 = 0; v21 = 0; } else { LOWORD(v20) = 0; } std::string::reserve((__int64 *)&v20, 0); v22 = (void *)v26[2]; v20 = v26[0]; v21 = v26[1]; } --v4; if ( v3 + ~v5 < 0 ) break; v2 = v17; } } if ( v15 ) { std::operator+(&byte_1191DE0, (__int64)&v20, v27); if ( (v20 & 1) != 0 ) { *(_BYTE *)v22 = 0; v21 = 0; } else { LOWORD(v20) = 0; } std::string::reserve((__int64 *)&v20, 0); v20 = v27[0]; v21 = v27[1]; v22 = (void *)v27[2]; } v11 = v20; v12 = v21; v13 = v17; a2[2] = (unsigned __int64)v22; *a2 = v11; a2[1] = v12; if ( (v13 & 1) != 0 ) operator delete(v19); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source