// // ShareLevelLayer::onSettings from 0x140631b60 to 0x140631cdc (380 bytes) // // 2 xrefs: // > ShareLevelLayer::init @ 0x140630efe // > @ 0x140930b24 // // 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=2 __int64 __fastcall ShareLevelLayer::onSettings(__int64 a1) { __int64 v2; // rcx __int64 v3; // rbx cocos2d::CCObject *v4; // rdi __int64 (__fastcall *v5)(__int64); // rdx void *v7; // [rsp+30h] [rbp+8h] v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } GameManager::setGameVariable(v2, "0029", 1u); v3 = *(_QWORD *)(a1 + 664); v4 = (cocos2d::CCObject *)operator new(0x2C8u); FLAlertLayer::FLAlertLayer((__int64)v4); *(_QWORD *)v4 = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 40) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 41) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 42) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 43) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 44) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 51) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 54) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 68) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 83) = &ShareLevelSettingsLayer::`vftable'; *((_QWORD *)v4 + 88) = 0; if ( (unsigned __int8)ShareLevelSettingsLayer::init(v4, v3, a1) ) { cocos2d::CCObject::autorelease(v4); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1); v4 = nullptr; } v5 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL); if ( v5 == FLAlertLayer::show ) return FLAlertLayer::show((__int64)v4); else return v5((__int64)v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source