// // AccountLayer::onLogin from 0x100165cfc to 0x100165d78 (124 bytes) // // 1 xrefs: // > AccountLayer::customSetup @ 0x100165850 // // 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 // void __fastcall AccountLayer::onLogin(AccountLayer *a1, cocos2d::CCObject *a2) { GJAccountManager *v2; // x0 FLAlertLayer *v3; // x19 void *__p[2]; // [xsp+0h] [xbp-30h] BYREF char *longStorage; // [xsp+10h] [xbp-20h] v2 = GJAccountManager::sharedState(); if ( v2->m_username.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0(__p, (void *)v2->m_username.m_data.m_long.capacitym1, v2->m_username.m_data.m_long.size); } else { *(_OWORD *)__p = *(_OWORD *)&v2->m_username.m_data.m_short.sizex2; longStorage = v2->m_username.m_data.m_long.longStorage; } v3 = AccountLoginLayer::create((__int64)__p); if ( SHIBYTE(longStorage) < 0 ) operator delete(__p[0]); ((void (__fastcall *)(FLAlertLayer *))v3->show)(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source