// // EditorSoundConfigUploadPopup::onToggleUnlisted from 0x788dbc to 0x788e5c (160 bytes) // // 0 xrefs: // // 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:59:35 +0000 // int __fastcall EditorSoundConfigUploadPopup::onToggleUnlisted( EditorSoundConfigUploadPopup *this, cocos2d::CCObject *a2) { int v2; // r5 int v3; // r2 GameManager *v5; // r0 GameManager *v6; // r0 int *v7; // r0 int v9[5]; // [sp+8h] [bp-14h] BYREF v2 = *((unsigned __int8 *)this + 756); v3 = _stack_chk_guard; *((_BYTE *)this + 756) = v2 ^ 1; v9[3] = v3; if ( v2 != 1 ) { v5 = (GameManager *)GameManager::sharedState(this); if ( !GameManager::getGameVariable(v5, "0070") ) { v6 = (GameManager *)GameManager::sharedState(nullptr); GameManager::setGameVariable(v6, "0070", (_BYTE *)&dword_0 + 1); memset(v9, 0, 12); std::string::__init(v9, "Unlisted packs can only be found by ID. This cannot be changed after uploading.", 0x4Fu); v7 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Unlisted", (int)v9, (ButtonSprite *)"OK", nullptr, 320.0); (*(void (__fastcall **)(int *))(*v7 + 656))(v7); std::string::~string((int)v9); } } if ( !*((_BYTE *)this + 756) ) *((_BYTE *)this + 757) = 0; return EditorSoundConfigUploadPopup::updateVisibilityState(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source