// // LevelBindingsLayer::onReset from 0xcf174c to 0xcf18b0 (356 bytes) // // 3 xrefs: // > @ 0xbbeb8 // > LevelBindingsLayer::settingsEntries @ 0xcf117c // > @ 0x1545708 // // This function is hookable on this platform (idp: arm, 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 13:06:45 +0000 // __int64 __fastcall LevelBindingsLayer::onReset(LevelBindingsLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x21 KeybindSource *v4; // x1 __int64 v5; // x3 void (__fastcall *v6)(LevelBindingsLayer *, __int64, __int64); // x23 __int64 v7; // x0 __int64 v9[2]; // [xsp+48h] [xbp+48h] BYREF void *v10; // [xsp+58h] [xbp+58h] __int64 v11[2]; // [xsp+60h] [xbp+60h] BYREF void *v12; // [xsp+70h] [xbp+70h] v3 = *((_QWORD *)this + 149); std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::clear((_QWORD *)(v3 + 8)); *(_BYTE *)(v3 + 32) = 1; if ( *((_BYTE *)this + 1200) ) LevelControlConfig::bindDefaultController(*((LevelControlConfig **)this + 149), v4); else LevelControlConfig::bindDefaultKeyboard(*((LevelControlConfig **)this + 149), v4); (*(void (__fastcall **)(LevelBindingsLayer *))(*(_QWORD *)this + 1304LL))(this); v9[0] = 0; v5 = *(_QWORD *)this; v9[1] = 0; v6 = *(void (__fastcall **)(LevelBindingsLayer *, __int64, __int64))(v5 + 464); v10 = nullptr; std::string::__init(v9, "Reset", 5u); v11[0] = 0; v11[1] = 0; v12 = nullptr; std::string::__init(v11, &byte_11B8890, 0); v7 = TextAlertPopup::create((char *)v9, 150, (char *)v11, 0.5, 0.6); v6(this, v7, 100); if ( (v11[0] & 1) != 0 ) operator delete(v12); if ( (v9[0] & 1) != 0 ) operator delete(v10); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source