// // GJAccountManager::getShaPassword from 0x582cc0 to 0x582d6e (174 bytes) // // 2 xrefs: // > GJAccountManager::dataLoaded @ 0x582eca // > AccountLoginLayer::onSubmit @ 0x586a1c // // 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:52:55 +0000 // int *__fastcall GJAccountManager::getShaPassword(int *a1, int a2) { cocos2d::CCString *v3; // r0 char *CString; // r0 char *v5; // r7 const void *v6; // r0 unsigned __int8 *v7; // r3 char *v8; // r2 size_t v9; // r0 int v11[3]; // [sp+10h] [bp-50h] BYREF unsigned __int8 v12[20]; // [sp+1Ch] [bp-44h] BYREF unsigned __int8 v13[44]; // [sp+30h] [bp-30h] BYREF std::string::basic_string(v11, a2); v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_6C + 1, "I29", "fmAn", 120, 103, "Ts"); CString = (char *)cocos2d::CCString::getCString(v3); std::string::append(v11, CString); if ( (v11[0] & 1) != 0 ) v5 = (char *)v11[2]; else v5 = (char *)v11 + 1; v6 = (const void *)strlen(v5); rtsha1::calc((rtsha1 *)v5, v6, (int)v12, v7); rtsha1::toHexString((rtsha1 *)v12, v13, v8); *a1 = 0; a1[1] = 0; a1[2] = 0; v9 = strlen((const char *)v13); std::string::__init(a1, v13, v9); std::string::~string((int)v11); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source