//
// GJAccountManager::handleIt from 0x140200340 to 0x140200584 (580 bytes)
//
// 2 xrefs:
// > GJAccountManager::onProcessHttpRequestCompleted @ 0x1402002f9
// > ??> @ 0x1406ccab0
//
// 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
//
// Hidden C++ exception states: #wind=4
void __fastcall GJAccountManager::handleIt(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5)
{
__int64 v8; // rbx
__int64 v9; // rax
__int64 v10; // rbx
__int64 v11; // rax
__int64 v12; // rbx
__int64 v13; // rax
__int64 v14; // rbx
__int64 v15; // rax
__int64 v16; // rbx
__int64 v17; // rax
__int64 v18; // rbx
__int64 v19; // rax
__int64 v20; // rbx
__int64 v21; // rax
_BYTE v22[32]; // [rsp+30h] [rbp-31h] BYREF
_BYTE v23[32]; // [rsp+50h] [rbp-11h] BYREF
__int64 v24; // [rsp+70h] [rbp+Fh]
__int64 v25; // [rsp+78h] [rbp+17h]
v24 = a3;
v25 = a4;
switch ( a5 )
{
case 20:
v12 = sub_14003BDB0((__int64)v23, a4);
v13 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onBackupAccountCompleted(a1, v13, v12);
break;
case 21:
v14 = sub_14003BDB0((__int64)v23, a4);
v15 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onSyncAccountCompleted(a1, v15, v14);
break;
case 22:
v8 = sub_14003BDB0((__int64)v22, a4);
v9 = sub_14003BDB0((__int64)v23, a3);
GJAccountManager::onRegisterAccountCompleted(a1, v9, v8);
break;
case 23:
v10 = sub_14003BDB0((__int64)v23, a4);
v11 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onLoginAccountCompleted(a1, v11, v10);
break;
case 26:
v16 = sub_14003BDB0((__int64)v23, a4);
v17 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onUpdateAccountSettingsCompleted(a1, v17, v16);
break;
case 54:
v18 = sub_14003BDB0((__int64)v23, a4);
v19 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onGetAccountBackupURLCompleted(a1, v19, v18);
break;
case 55:
v20 = sub_14003BDB0((__int64)v23, a4);
v21 = sub_14003BDB0((__int64)v22, a3);
GJAccountManager::onGetAccountSyncURLCompleted(a1, v21, v20);
break;
default:
break;
}
sub_14003A830(a3);
sub_14003A830(a4);
}