// // MenuLayer::onQuit from 0x10037c640 to 0x10037c6f1 (177 bytes) // // 3 xrefs: // > MenuLayer::keyBackClicked @ 0x10037cfe5 // > sub_10037CFF0 @ 0x10037cffc // > MenuLayer::init @ 0x10037b7d6 // // 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 12:29:06 +0000 // __int64 __fastcall MenuLayer::onQuit(__int64 a1) { __int64 v1; // rbx _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] __p = operator new(0x28u); v3[0] = 41; v3[1] = 38; strcpy((char *)__p, "Are you sure you want to quit?"); v1 = FLAlertLayer::create_1(a1 + 408, "Quit Game", v3, "Cancel", "Yes", 300.0); if ( (v3[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 72LL))(v1, 0); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source