// // LevelBindingsLayer::onReset from 0x797efc to 0x797fb4 (184 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:46 +0000 // int __fastcall LevelBindingsLayer::onReset(KeybindSet **this, cocos2d::CCObject *a2) { KeybindSource *v3; // r1 LevelControlConfig *v4; // r0 KeybindSet *v5; // r3 void (__fastcall *v6)(KeybindSet **, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v7; // r0 int v9[3]; // [sp+Ch] [bp-20h] BYREF int v10[3]; // [sp+18h] [bp-14h] BYREF KeybindSet::clear(*(this + 201)); v4 = *(this + 201); if ( *((_BYTE *)this + 808) ) LevelControlConfig::bindDefaultController(v4, v3); else LevelControlConfig::bindDefaultKeyboard(v4, v3); (*((void (__fastcall **)(KeybindSet **))*this + 163))(this); v5 = *this; memset(v9, 0, sizeof(v9)); v6 = *((void (__fastcall **)(KeybindSet **, cocos2d::CCNode *, int))v5 + 58); std::string::__init(v9, "Reset", 5u); memset(v10, 0, sizeof(v10)); std::string::__init(v10, &unk_B6B226, 0); v7 = TextAlertPopup::create((int)v9, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v10); v6(this, v7, 100); std::string::~string((int)v10); return std::string::~string((int)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source