// // GJAccountManager::handleIt from 0x140305500 to 0x1403057d0 (720 bytes) // // 2 xrefs: // > GJAccountManager::onProcessHttpRequestCompleted @ 0x1403054b9 // > @ 0x14091e530 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:30:09 +0000 // // Hidden C++ exception states: #wind=5 void __fastcall GJAccountManager::handleIt(__int64 a1, __int64 a2, char *a3, __int64 a4, int a5) { __int64 v8; // rbx __int64 v9; // rax __int64 v10; // r15 __int64 v11; // rax __int64 v12; // rbx size_t v13; // r8 void *v14; // rdx __int64 v15; // rbx __int64 v16; // rax __int64 v17; // rbx __int64 v18; // rax __int64 v19; // rbx __int64 v20; // rax __int64 v21; // rbx __int64 v22; // rax __int64 v23; // rbx __int64 v24; // rax __int64 v25; // rbx __int64 v26; // rax _BYTE v27[32]; // [rsp+30h] [rbp-31h] BYREF _BYTE v28[32]; // [rsp+50h] [rbp-11h] BYREF char *v29; // [rsp+70h] [rbp+Fh] __int64 v30; // [rsp+78h] [rbp+17h] v29 = a3; v30 = a4; GameToolbox::extractServerPopup(a3); switch ( a5 ) { case 22: v17 = sub_14003F4F0((__int64)v28, a4); v18 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onBackupAccountCompleted(a1, v18, v17); break; case 23: v19 = sub_14003F4F0((__int64)v28, a4); v20 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onSyncAccountCompleted(a1, v20, v19); break; case 24: v8 = sub_14003F4F0((__int64)v27, a4); v9 = sub_14003F4F0((__int64)v28, (__int64)a3); GJAccountManager::onRegisterAccountCompleted(a1, v9, v8); break; case 25: v10 = sub_14003F4F0((__int64)v28, a4); v11 = sub_14003F4F0((__int64)v27, (__int64)a3); v12 = v11; v13 = *(_QWORD *)(v11 + 16); if ( v13 >= 0x10 && a1 + 496 != v11 ) { v14 = (void *)v11; if ( *(_QWORD *)(v11 + 24) > 0xFu ) v14 = *(void **)v11; sub_1400405A0((void **)(a1 + 496), v14, v13); } sub_14003D310(v12); sub_14003D310(v10); break; case 26: v15 = sub_14003F4F0((__int64)v28, a4); v16 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onLoginAccountCompleted(a1, v16, v15); break; case 32: v21 = sub_14003F4F0((__int64)v28, a4); v22 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onUpdateAccountSettingsCompleted(a1, v22, v21); break; case 60: v23 = sub_14003F4F0((__int64)v28, a4); v24 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onGetAccountBackupURLCompleted(a1, v24, v23); break; case 61: v25 = sub_14003F4F0((__int64)v28, a4); v26 = sub_14003F4F0((__int64)v27, (__int64)a3); GJAccountManager::onGetAccountSyncURLCompleted(a1, v26, v25); break; default: break; } sub_14003D310((__int64)a3); sub_14003D310(a4); }