// // AccountLoginLayer::loginAccountFinished from 0x140091760 to 0x1400919ba (602 bytes) // // 2 xrefs: // > @ 0x140717938 // > @ 0x140912a7c // // 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:26:01 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall AccountLoginLayer::loginAccountFinished(__int64 a1, int a2, int a3) { int v6; // edi int v7; // ebx 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 __int64 v16; // rdx void *v17; // rax int v18; // r14d __int64 v19; // rax cocos2d::CCObject *v20; // rbx __int128 v22; // [rsp+60h] [rbp-19h] BYREF __int64 v23; // [rsp+70h] [rbp-9h] __int64 v24; // [rsp+78h] [rbp-1h] void *Block[2]; // [rsp+80h] [rbp+7h] BYREF __m128i si128; // [rsp+90h] [rbp+17h] v6 = sub_14003F4F0((__int64)&v22, a1 + 88); v7 = sub_14003F4F0((__int64)Block, a1 + 56); v8 = GJAccountManager::sharedState(); GJAccountManager::linkToAccount(v8, v7, v6, a2, a3); v9 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 592LL) + 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_14003D230(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); v16 = si128.m128i_i64[1]; if ( si128.m128i_i64[1] > 0xFuLL ) { v17 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v17 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; LOBYTE(v16) = 1; AccountLoginLayer::toggleUI(a1 - 664, v16); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 - 664 + 712) + 336LL))(*(_QWORD *)(a1 - 664 + 712), 0); v18 = a1 + 8; if ( a1 == 664 ) v18 = 0; v22 = 0; v23 = 0; v24 = 0; do ++v11; while ( CString[v11] ); sub_14003D230(&v22, CString, v11); v19 = sub_14003F4F0((__int64)Block, (__int64)&v22); v20 = FLAlertLayer::create(v18, (int)"Login Success", v19, (__int64)"OK", 0, 1134559232, 0, 0, 1065353216); sub_14003D310((__int64)&v22); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v20 + 64LL))(v20, 2); return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v20 + 1064LL))(v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source