// // GJWriteMessagePopup::closeMessagePopup from 0x5e0f6c to 0x5e1054 (232 bytes) // // 2 xrefs: // > GJWriteMessagePopup::onClose @ 0x5e105a // > GJWriteMessagePopup::onClosePopup @ 0x5e1094 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:16 +0000 // int __fastcall GJWriteMessagePopup::closeMessagePopup(GJWriteMessagePopup *this, int a2) { GJUserMessage *v4; // r0 int v5; // r5 int v6; // r5 unsigned __int8 *v7; // r7 GameLevelManager *v8; // r0 int v9; // r0 cocos2d::CCDictionary **v10; // r0 GJMessagePopup *StoredUserMessage; // r0 GJUserMessage *v12; // r1 FLAlertLayer *v13; // r0 int v14; // r3 int v16[3]; // [sp+0h] [bp-14h] BYREF (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 136) + 580))(*((_DWORD *)this + 136), 0); v4 = (GJUserMessage *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 137) + 580))( *((_DWORD *)this + 137), 0); if ( !a2 && *((_DWORD *)this + 135) ) { v5 = *((unsigned __int8 *)this + 552); if ( (v5 & 1) != 0 ) v6 = *((_DWORD *)this + 139); else v6 = v5 >> 1; if ( v6 ) { v7 = (unsigned __int8 *)GJUserMessage::create(v4); std::string::basic_string(v16, (int)this + 552); std::string::operator=(v7 + 288, (unsigned __int8 *)v16); std::string::~string((int)v16); std::string::basic_string(v16, (int)this + 564); std::string::operator=(v7 + 276, (unsigned __int8 *)v16); v8 = (GameLevelManager *)std::string::~string((int)v16); v9 = GameLevelManager::sharedState(v8); v4 = (GJUserMessage *)GameLevelManager::storeUserMessageReply(v9, *((_DWORD *)this + 135), (GJUserMessage *)v7); } v10 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v4); StoredUserMessage = (GJMessagePopup *)GameLevelManager::getStoredUserMessage(v10, *((_DWORD *)this + 135)); if ( StoredUserMessage ) { v13 = GJMessagePopup::create(StoredUserMessage, v12); v14 = *(_DWORD *)v13; *((_BYTE *)v13 + 468) = 1; (*(void (**)(void))(v14 + 656))(); } } (*(void (__fastcall **)(GJWriteMessagePopup *, _DWORD))(*(_DWORD *)this + 536))(this, 0); return (*(int (__fastcall **)(GJWriteMessagePopup *, int))(*(_DWORD *)this + 264))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source