// // GameToolbox::stringEndsWith from 0x3cfac2 to 0x3cfb14 (82 bytes) // // 6 xrefs: // > LocalLevelManager::filesPicked @ 0x543558 // > LocalLevelManager::tryRecoverAutoSaves @ 0x543694 // > LocalLevelManager::tryRecoverAutoSaves @ 0x5436d8 // > LocalLevelManager::exportLevelsToFile @ 0x543e4c // > AutoBackupPopup::listBackups @ 0x73d9be // > AutoBackupPopup::listBackups @ 0x73da12 // // 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 // bool __fastcall GameToolbox::stringEndsWith(unsigned __int8 *a1, unsigned __int8 *a2) { int v3; // r1 int v4; // r2 unsigned int v5; // r6 unsigned int v6; // r5 int v7; // r1 int v8; // r5 unsigned int v9; // r1 unsigned int v10; // r2 void *v11; // r3 v3 = *a1; v4 = *a2; if ( (v3 & 1) != 0 ) v5 = *((_DWORD *)a1 + 1); else v5 = v3 >> 1; if ( (v4 & 1) != 0 ) v6 = *((_DWORD *)a2 + 1); else v6 = v4 >> 1; if ( v5 < v6 ) return 0; if ( (v3 & 1) != 0 ) v7 = *((_DWORD *)a1 + 1); else v7 = v3 >> 1; if ( (v4 & 1) != 0 ) v8 = *((_DWORD *)a2 + 1); else v8 = v4 >> 1; v9 = v7 - v8; if ( (v4 & 1) != 0 ) { v10 = *((_DWORD *)a2 + 1); v11 = *((void **)a2 + 2); } else { v10 = v4 >> 1; v11 = a2 + 1; } return std::string::compare(a1, v9, v10, v11, v10) == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source