// // KeybindingsSettingsPopup::onExport from 0xceffc4 to 0xcf00f0 (300 bytes) // // 2 xrefs: // > @ 0xfb7a0 // > @ 0x1548348 // // 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 KeybindingsSettingsPopup::onExport(KeybindingsSettingsPopup *this, cocos2d::CCObject *a2) { GJKeybindManager *v2; // x0 int v3; // w0 __int64 v4; // x0 __int64 v6; // x0 __int64 v7; // [xsp+20h] [xbp+20h] BYREF __int64 v8; // [xsp+28h] [xbp+28h] void *v9; // [xsp+30h] [xbp+30h] v2 = (GJKeybindManager *)GJKeybindManager::sharedState(_stack_chk_guard); v3 = GJKeybindManager::exportBindingsToFile(v2); if ( v3 <= 0 ) { if ( !v3 ) return _stack_chk_guard; v7 = 0; v8 = 0; v9 = nullptr; std::string::__init(&v7, "Could not write the file.", 0x19u); v6 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Export Failed", (char *)&v7, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); } else { v7 = 0; v8 = 0; v9 = nullptr; std::string::__init(&v7, "Bindings exported.", 0x12u); v4 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Keybinds", (char *)&v7, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } if ( (v7 & 1) != 0 ) operator delete(v9); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source