// // rtsha1::toHexString from 0x306690 to 0x30670e (126 bytes) // // 20 xrefs: // > GameManager::recountUserStats @ 0x327fc2 // > GameLevelManager::onGetGJSecretRewardCompleted @ 0x3c3682 // > GameLevelManager::onGetGJRewardsCompleted @ 0x3c39b6 // > GameLevelManager::onGetGJChallengesCompleted @ 0x3c3dc4 // > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x3c4336 // > GameLevelManager::onGetOnlineLevelsCompleted @ 0x3c67b4 // > GameLevelManager::processOnDownloadLevelCompleted @ 0x3c757c // > GameLevelManager::processOnDownloadLevelCompleted @ 0x3c7680 // > GameLevelManager::onGetMapPacksCompleted @ 0x3ca0cc // > GameLevelManager::onGetGauntletsCompleted @ 0x3ca366 // > GameLevelManager::uploadLevel @ 0x3cf90e // > GameLevelManager::downloadLevel @ 0x3d019c // > GameLevelManager::rateStars @ 0x3d0564 // > GameLevelManager::getLevelLeaderboard @ 0x3d11ee // > GameLevelManager::uploadComment @ 0x3d22ca // > GameLevelManager::likeItem @ 0x3d38fc // > GameLevelManager::uploadLevelList @ 0x3d5050 // > GameLevelManager::updateUserScore @ 0x3d6378 // > GJAccountManager::getShaPassword @ 0x464efe // > GJMultiplayerManager::uploadComment @ 0x510c52 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // unsigned __int8 *__fastcall rtsha1::toHexString(rtsha1 *this, const unsigned __int8 *a2, char *a3) { unsigned __int8 **v5; // r4 const char *v6; // r3 unsigned __int8 *result; // r0 unsigned __int8 *v8; // r1 char *v9; // r5 unsigned __int8 *v10; // r2 int v11; // r3 unsigned __int8 *v13; // r4 unsigned int v14; // t1 _BYTE v15[28]; // [sp+0h] [bp-1Ch] BYREF v5 = (unsigned __int8 **)v15; v6 = "0123456789abcdef"; do { result = *(unsigned __int8 **)v6; v6 += 8; v8 = *((unsigned __int8 **)v6 - 1); *v5 = result; v5[1] = v8; v9 = (char *)(v5 + 2); v5 += 2; } while ( v6 != "" ); v10 = (unsigned __int8 *)this + 19; *v9 = *v6; v11 = 20; while ( v11-- != 0 ) { v13 = v10; v14 = *v10--; result = (unsigned __int8 *)&a2[2 * v11]; *result = v15[v14 >> 4]; result[1] = v15[*v13 & 0xF]; } *((_BYTE *)a2 + 40) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source