// // AccountLoginLayer::loginAccountFinished from 0x14007c790 to 0x14007c9d4 (580 bytes) // // 2 xrefs: // > @ 0x140539f88 // > @ 0x1406c67f8 // // 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 AccountLoginLayer::loginAccountFinished(AccountLoginLayer *a1, int a2, int a3) { int v6; // edi int v7; // ebx unsigned int v8; // eax __int64 v9; // rcx _BYTE *v10; // rax size_t v11; // rdi size_t v12; // r8 void **v13; // rdx cocos2d::CCString *v14; // rax const char *CString; // rsi void *v16; // rcx int v17; // r14d __int64 v18; // rax FLAlertLayer *v19; // rbx __int128 v20; // [rsp+60h] [rbp-19h] BYREF __int64 v21; // [rsp+70h] [rbp-9h] __int64 v22; // [rsp+78h] [rbp-1h] void *Block[2]; // [rsp+80h] [rbp+7h] BYREF __m128i si128; // [rsp+90h] [rbp+17h] v6 = sub_14003BDB0((__int64)&v20, (__int64)&a1->m_fSkewY); v7 = sub_14003BDB0((__int64)Block, (__int64)&a1->m_fRotationX); v8 = (unsigned int)GJAccountManager::sharedState(); GJAccountManager::linkToAccount(v8, v7, v6, a2, a3); v9 = *(_QWORD *)(*(_QWORD *)&a1->m_nTag + 552LL) + 600LL; v10 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 8LL))(v9); *(_OWORD *)Block = 0; si128 = 0; v11 = -1; v12 = -1; do ++v12; while ( v10[v12] ); sub_14003A930(Block, v10, v12); v13 = Block; if ( si128.m128i_i64[1] > 0xFuLL ) v13 = (void **)Block[0]; v14 = cocos2d::CCString::createWithFormat( "Thank you for logging in.\nYou have now linked your account:\n%s", (const char *)v13); CString = cocos2d::CCString::getCString(v14); if ( si128.m128i_i64[1] > 0xFuLL ) { v16 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v16 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v16 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v16); } si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30); LOBYTE(Block[0]) = 0; AccountLoginLayer::toggleUI((AccountLoginLayer *)((char *)a1 - 640), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)((char *)&a1[-1].m_sAdditionalTransform + 692) + 320LL))( *(_QWORD *)((char *)&a1[-1].m_sAdditionalTransform + 692), 0); v17 = (_DWORD)a1 + 8; if ( a1 == (AccountLoginLayer *)640 ) v17 = 0; v20 = 0; v21 = 0; v22 = 0; do ++v11; while ( CString[v11] ); sub_14003A930(&v20, CString, v11); v18 = sub_14003BDB0((__int64)Block, (__int64)&v20); v19 = FLAlertLayer::create(v17, (int)"Login Success", v18, (__int64)"OK", 0, 1134559232, 0, 0, 1065353216); sub_14003A830((__int64)&v20); v19->setTag(v19, 2); v19->show(v19); }