// // SupportLayer::onRequestAccess from 0x7db5e0 to 0x7db718 (312 bytes) // // 3 xrefs: // > @ 0x31b00 // > SupportLayer::customSetup @ 0x7dd67c // > @ 0x1229790 // // 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 SupportLayer::onRequestAccess(SupportLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 UploadActionPopup *m_uploadPopup; // x0 UploadPopupDelegate_vtbl *v5; // x3 unsigned int *v6; // x2 int onClosePopup; // w0 UploadPopupDelegate v8; // [xsp+40h] [xbp+40h] BYREF std::string v9; // 0:x2.8 GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; v3 = GameLevelManager::sharedState(); if ( GameLevelManager::requestUserAccess(v3) ) { sub_D153B8((int)&v8, "Loading..."); m_uploadPopup = (UploadActionPopup *)UploadActionPopup::create( (UploadActionPopup *)&a1->UploadPopupDelegate, &v8, v9); a1->m_uploadPopup = m_uploadPopup; v5 = v8.__vftable - 3; if ( (__int64 *)&v8.__vftable[-3] != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)&v8.__vftable[-1]; do onClosePopup = __ldaxr(v6); while ( __stlxr(onClosePopup - 1, v6) ); } else { onClosePopup = (int)v8.__vftable[-1].onClosePopup; LODWORD(v8.__vftable[-1].onClosePopup) = onClosePopup - 1; } if ( onClosePopup <= 0 ) operator delete(v5); m_uploadPopup = a1->m_uploadPopup; } m_uploadPopup->show(m_uploadPopup); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source