// // ShareLevelSettingsLayer::onUnlisted from 0x140633590 to 0x1406337af (543 bytes) // // 2 xrefs: // > ShareLevelSettingsLayer::init @ 0x140633048 // > @ 0x140930b84 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:35:29 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall ShareLevelSettingsLayer::onUnlisted(__int64 a1) { __int64 v2; // rcx __int64 v3; // rcx __int64 v4; // rax cocos2d::CCObject *v5; // rbx __int64 v6; // rax __int128 v8; // [rsp+50h] [rbp-48h] BYREF __int64 v9; // [rsp+60h] [rbp-38h] __int64 v10; // [rsp+68h] [rbp-30h] _BYTE v11[40]; // [rsp+70h] [rbp-28h] BYREF void *v12; // [rsp+A0h] [rbp+8h] void *v13; // [rsp+A0h] [rbp+8h] *(_BYTE *)(*(_QWORD *)(a1 + 680) + 688LL) = *(_BYTE *)(*(_QWORD *)(a1 + 680) + 688LL) == 0; v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v12 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v2, "0070") ) { v3 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v13 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v3 = qword_14090BFD0; } GameManager::setGameVariable(v3, "0070", 1u); v8 = 0; *(_QWORD *)&v8 = sub_14003D460(0x80u); v9 = 119; v10 = 127; strcpy( (char *)v8, "An unlisted level can only be found by entering its levelID. Once a level is unlisted, it cannot change back to listed."); v4 = sub_14003F4F0((__int64)v11, (__int64)&v8); v5 = FLAlertLayer::create(0, (int)"Unlisted", v4, (__int64)"OK", 0, 1134559232, 0, 0, 1065353216); sub_14003D310((__int64)&v8); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5); } v6 = *(_QWORD *)(a1 + 680); if ( !*(_BYTE *)(v6 + 688) ) *(_BYTE *)(v6 + 689) = 0; return ShareLevelSettingsLayer::updateSettingsState(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source