// // GameToolbox::pointsToString from 0x3d3a48 to 0x3d3c2c (484 bytes) // // 44 xrefs: // > GJScoreCell::loadFromScore @ 0x42d7e0 // > GJScoreCell::loadFromScore @ 0x42d8f6 // > GJScoreCell::loadFromScore @ 0x42da3e // > GJScoreCell::loadFromScore @ 0x42db3c // > GJScoreCell::loadFromScore @ 0x42dca8 // > GJScoreCell::loadFromScore @ 0x42ddea // > GJScoreCell::loadFromScore @ 0x42df7a // > GJLocalLevelScoreCell::loadFromScore @ 0x4313ea // > GJLevelScoreCell::loadFromScore @ 0x43194a // > PauseLayer::setupPlatformerLabels @ 0x490946 // > LevelInfoLayer::updateLabelValues @ 0x49bd7e // > LevelInfoLayer::updateLabelValues @ 0x49be4a // > LevelInfoLayer::setupPlatformerStats @ 0x49d042 // > EndLevelLayer::customSetup @ 0x536136 // > GJBaseGameLayer::updateSpecialLabels @ 0x5b5848 // > DemonInfoPopup::init @ 0x5f7e76 // > DemonInfoPopup::init @ 0x5f7ed4 // > DemonInfoPopup::init @ 0x5f80bc // > DemonInfoPopup::init @ 0x5f8124 // > DemonInfoPopup::init @ 0x5f820a // > DemonInfoPopup::init @ 0x5f8296 // > StarInfoPopup::init @ 0x5f85aa // > StarInfoPopup::init @ 0x5f8728 // > StarInfoPopup::init @ 0x5f87e0 // > StarInfoPopup::init @ 0x5f8868 // > StarInfoPopup::init @ 0x5f88ee // > ProfilePage::loadPageFromUserInfo @ 0x5f90ac // > ProfilePage::onStatInfo @ 0x5fc2b8 // > ProfilePage::onStatInfo @ 0x5fc2d4 // > ProfilePage::onInfo @ 0x5fc59a // > ProfilePage::onInfo @ 0x5fc5c8 // > ProfilePage::onInfo @ 0x5fc5ea // > ProfilePage::onInfo @ 0x5fc60c // > ProfilePage::onInfo @ 0x5fc62e // > ProfilePage::onInfo @ 0x5fc650 // > ProfilePage::onInfo @ 0x5fc6dc // > GJShopLayer::init @ 0x613578 // > PurchaseItemPopup::init @ 0x613f32 // > GJPathPage::init @ 0x6d39ec // > SongUsagePopup::buildUsageGrid @ 0x760192 // > SongUsagePopup::songUsageFinished @ 0x760be0 // > LevelStatsInfoPopup::buildStatsText @ 0x79b962 // > LevelStatsInfoPopup::buildInfoText @ 0x79c046 // > LevelStatsInfoPopup::buildInfoText @ 0x79c0aa // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:42 +0000 // GameToolbox *__fastcall GameToolbox::pointsToString(GameToolbox *this, unsigned int a2) { unsigned int v3; // r11 int v4; // r5 int v5; // r10 int i; // r5 char *v7; // r3 size_t v8; // r7 char *v9; // r1 int v10; // r0 size_t v11; // r1 char *v12; // r2 int v13; // r0 size_t v14; // r1 char *v15; // r2 int v16; // r0 size_t v17; // r1 char *v18; // r2 int v19; // r0 size_t v20; // r1 char *v21; // r2 char v23; // [sp+Fh] [bp-45h] BYREF unsigned __int8 v24; // [sp+10h] [bp-44h] BYREF char v25; // [sp+11h] [bp-43h] BYREF int v26; // [sp+14h] [bp-40h] char *v27; // [sp+18h] [bp-3Ch] int v28; // [sp+1Ch] [bp-38h] BYREF size_t v29; // [sp+20h] [bp-34h] char *v30; // [sp+24h] [bp-30h] int v31; // [sp+28h] [bp-2Ch] BYREF size_t v32; // [sp+2Ch] [bp-28h] char *v33; // [sp+30h] [bp-24h] int v34; // [sp+34h] [bp-20h] BYREF size_t v35; // [sp+38h] [bp-1Ch] char *v36; // [sp+3Ch] [bp-18h] int v37; // [sp+40h] [bp-14h] BYREF size_t v38; // [sp+44h] [bp-10h] char *v39; // [sp+48h] [bp-Ch] if ( a2 + 999 > 0x7CE ) { v3 = a2 >> 31; GameToolbox::intToString((GameToolbox *)&v24, (a2 ^ ((int)a2 >> 31)) + (a2 >> 31)); v4 = v24; v28 = 0; v29 = 0; if ( (v24 & 1) == 0 ) v4 = (int)v24 >> 1; v30 = nullptr; if ( (v24 & 1) != 0 ) v4 = v26; v5 = 0; for ( i = v4 - 1; i >= 0; --i ) { ++v5; if ( (v24 & 1) != 0 ) v7 = v27; else v7 = &v25; if ( (v28 & 1) != 0 ) v8 = v29; else v8 = (int)(unsigned __int8)v28 >> 1; v23 = v7[i]; v31 = 0; v32 = 0; v33 = nullptr; std::string::__init(&v31, &v23, 1u, v8 + 1); if ( (v28 & 1) != 0 ) v9 = v30; else v9 = (char *)&v28 + 1; std::string::append(&v31, v9, v8); if ( (v28 & 1) != 0 ) { *v30 = 0; v29 = 0; } else { LOWORD(v28) = 0; } std::string::reserve(&v28, 0); v10 = v31; v11 = v32; v12 = v33; v31 = 0; v32 = 0; v33 = nullptr; v28 = v10; v29 = v11; v30 = v12; std::string::~string((int)&v31); if ( !(v5 % 3) && i ) { std::operator+(&v34, ",", (unsigned __int8 *)&v28); if ( (v28 & 1) != 0 ) { *v30 = 0; v29 = 0; } else { LOWORD(v28) = 0; } std::string::reserve(&v28, 0); v13 = v34; v14 = v35; v15 = v36; v34 = 0; v35 = 0; v36 = nullptr; v28 = v13; v29 = v14; v30 = v15; std::string::~string((int)&v34); } } if ( v3 ) { std::operator+(&v37, "-", (unsigned __int8 *)&v28); if ( (v28 & 1) != 0 ) { *v30 = 0; v29 = 0; } else { LOWORD(v28) = 0; } std::string::reserve(&v28, 0); v16 = v37; v17 = v38; v18 = v39; v37 = 0; v38 = 0; v39 = nullptr; v28 = v16; v29 = v17; v30 = v18; std::string::~string((int)&v37); } v19 = v28; v20 = v29; v21 = v30; v28 = 0; v29 = 0; v30 = nullptr; *(_DWORD *)this = v19; *((_DWORD *)this + 1) = v20; *((_DWORD *)this + 2) = v21; std::string::~string((int)&v28); std::string::~string((int)&v24); } else { GameToolbox::intToString(this, a2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source