// // AccountHelpLayer::onUnlink from 0x14007fb70 to 0x14007fd06 (406 bytes) // // 2 xrefs: // > AccountHelpLayer::customSetup @ 0x14007f8b1 // > @ 0x1406c6978 // // 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=2 void AccountHelpLayer::onUnlink(AccountHelpLayer *a1, cocos2d::CCObject *a2) { GJAccountManager *v3; // rax const char *v4; // rdx cocos2d::CCString *v5; // rax const char *CString; // rdi int v7; // esi size_t v8; // r8 __int64 v9; // rax FLAlertLayer *v10; // rbx __int128 v11; // [rsp+58h] [rbp-60h] BYREF __int64 v12; // [rsp+68h] [rbp-50h] __int64 v13; // [rsp+70h] [rbp-48h] _QWORD v14[4]; // [rsp+80h] [rbp-38h] BYREF v3 = GJAccountManager::sharedState(); sub_14003BDB0((__int64)v14, (__int64)&v3->m_username); v4 = (const char *)v14; if ( v14[3] > 0xFu ) v4 = (const char *)v14[0]; v5 = cocos2d::CCString::createWithFormat( "Are you sure you want to unlink from the account %s?\n" "Unlinking will delete all data from this device.", v4); CString = cocos2d::CCString::getCString(v5); sub_14003A830((__int64)v14); v7 = (_DWORD)a1 + 616; if ( !a1 ) v7 = 0; v11 = 0; v12 = 0; v13 = 0; v8 = -1; do ++v8; while ( CString[v8] ); sub_14003A930(&v11, CString, v8); v9 = sub_14003BDB0((__int64)v14, (__int64)&v11); v10 = FLAlertLayer::create( v7, (int)"Unlink Account", v9, (__int64)"Cancel", (__int64)"Unlink", 1133903872, 0, 0, 1065353216); sub_14003A830((__int64)&v11); ButtonSprite::updateBGImage(v10->m_button2, "GJ_button_05.png"); v10->setTag(v10, 3); v10->show(v10); }