//
// GJAccountManager::getShaPassword from 0x464e9c to 0x464f30 (148 bytes)
//
// 2 xrefs:
// > GJAccountManager::dataLoaded @ 0x464ff0
// > AccountLoginLayer::onSubmit @ 0x46a04c
//
// 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
//
int __fastcall GJAccountManager::getShaPassword(int a1)
{
cocos2d::CCString *v2; // r0
char *CString; // r0
const void *v4; // r0
unsigned __int8 *v5; // r3
char *v6; // r2
char *v8; // [sp+18h] [bp-48h] BYREF
unsigned __int8 v9[20]; // [sp+1Ch] [bp-44h] BYREF
unsigned __int8 v10[44]; // [sp+30h] [bp-30h] BYREF
sub_775C20(&v8);
v2 = (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(v2);
sub_774544((int)&v8, CString);
v4 = (const void *)strlen(v8);
rtsha1::calc((rtsha1 *)v8, v4, (int)v9, v5);
rtsha1::toHexString((rtsha1 *)v9, v10, v6);
sub_776584(a1, (char *)v10);
sub_774008(&v8);
return a1;
}