// // GameToolbox::lowercaseASCII from 0x3cf4ba to 0x3cf508 (78 bytes) // // 9 xrefs: // > LevelSettingsObject::findIDByName @ 0x468f24 // > LevelSettingsObject::findIDByName @ 0x468f4a // > MusicDownloadManager::renameCustomSFXObject @ 0x56e85c // > IDNameBrowserPopup::rebuildList @ 0x792152 // > IDNameBrowserPopup::rebuildList @ 0x7921a6 // > IDNameInput::nameLess @ 0x79381a // > IDNameInput::nameLess @ 0x793822 // > IDNameInput::collectMatches @ 0x7965d2 // > IDNameInput::collectMatches @ 0x79667c // // 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:39 +0000 // int *__fastcall GameToolbox::lowercaseASCII(int *a1, int a2) { unsigned int i; // r3 unsigned int v4; // r2 int v5; // r1 char *v6; // r2 int *v7; // r2 char *v8; // r2 std::string::basic_string(a1, a2); for ( i = 0; ; ++i ) { v4 = *(unsigned __int8 *)a1; v5 = v4 & 1; if ( (v4 & 1) == 0 ) break; if ( i >= a1[1] ) return a1; v6 = (char *)a1[2]; LABEL_7: if ( (unsigned __int8)v6[i] > 0x40u ) { v7 = v5 ? (int *)a1[2] : (int *)((char *)a1 + 1); if ( *((unsigned __int8 *)v7 + i) <= 0x5Au ) { if ( v5 ) v8 = (char *)a1[2]; else v8 = (char *)a1 + 1; v8[i] += 32; } } } if ( i < v4 >> 1 ) { v6 = (char *)a1 + 1; goto LABEL_7; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source