// // GJAccountManager::onLoginAccountCompleted from 0x1004458c8 to 0x100445ab0 (488 bytes) // // 1 xrefs: // > GJAccountManager::handleIt @ 0x100445458 // // This function is hookable on this platform (idp: arm, 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:05:14 +0000 // __int64 __fastcall GJAccountManager::onLoginAccountCompleted(__int64 a1, _QWORD *a2) { void *v4; // x0 char *CString; // x0 _BOOL4 v6; // w0 _BOOL4 v7; // w21 __int64 result; // x0 __int64 (*v9)(void); // x8 void *v10; // x0 char *v11; // x0 _BOOL4 v12; // w0 _BOOL4 v13; // w21 _BOOL4 v14; // w0 _BOOL4 v15; // w21 __int64 v16; // x21 __int64 v17; // x0 __int64 v18; // x20 __int64 v19; // x0 __int64 v20; // x0 __int64 v21; // x2 int v22; // w8 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v24; // [xsp+1Fh] [xbp-21h] GJAccountManager::removeDLFromActive(a1, "login_account"); v4 = sub_1003065B0("%i", -12); CString = (char *)cocos2d::CCString::getCString((__int64)v4); sub_100009900(__p, CString); v6 = sub_1000045BC(a2, __p); v7 = v6; if ( v24 < 0 ) { operator delete(__p[0]); if ( v7 ) goto LABEL_3; } else if ( v6 ) { LABEL_3: result = *(_QWORD *)(a1 + 400); if ( !result ) return result; v9 = *(__int64 (**)(void))(*(_QWORD *)result + 8LL); return v9(); } v10 = sub_1003065B0("%i", -13); v11 = (char *)cocos2d::CCString::getCString((__int64)v10); sub_100009900(__p, v11); v12 = sub_1000045BC(a2, __p); v13 = v12; if ( v24 < 0 ) { operator delete(__p[0]); if ( v13 ) goto LABEL_8; } else if ( v12 ) { LABEL_8: result = *(_QWORD *)(a1 + 400); if ( !result ) return result; v9 = *(__int64 (**)(void))(*(_QWORD *)result + 8LL); return v9(); } sub_100009900(__p, "-1"); v14 = sub_1000045BC(a2, __p); v15 = v14; if ( v24 < 0 ) { operator delete(__p[0]); if ( v15 ) { LABEL_21: result = *(_QWORD *)(a1 + 400); if ( !result ) return result; v9 = *(__int64 (**)(void))(*(_QWORD *)result + 8LL); return v9(); } } else if ( v14 ) { goto LABEL_21; } v16 = sub_100447168(a2, ","); if ( (unsigned int)sub_1002E757C(v16) <= 1 ) goto LABEL_21; v17 = cocos2d::CCArray::stringAtIndex(v16, 0); v18 = cocos2d::CCString::intValue(v17); v19 = cocos2d::CCArray::stringAtIndex(v16, 1u); v20 = cocos2d::CCString::intValue(v19); if ( (int)v18 <= 0 ) goto LABEL_21; v21 = v20; v22 = *(_DWORD *)(a1 + 352); result = *(_QWORD *)(a1 + 400); if ( v22 && v22 != (_DWORD)v18 ) { if ( !result ) return result; v9 = *(__int64 (**)(void))(*(_QWORD *)result + 8LL); return v9(); } if ( result ) return (**(__int64 (__fastcall ***)(__int64, __int64, __int64))result)(result, v18, v21); return result; }