// // sub_1008CA5B0 from 0x1008ca5b0 to 0x1008ca6b1 (257 bytes) // // 1 xrefs: // > sub_1008CA190 @ 0x1008ca4cf // // 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:37:34 +0000 // void __fastcall sub_1008CA5B0(__int64 a1) { __int64 *v1; // rbx _QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] if ( *(_QWORD *)(a1 + 1024) ) { __p = operator new(0x68u); v2[0] = 105; v2[1] = 101; strcpy( (char *)__p, "Clear your death stats for this level? Death markers are not affected. This cannot be undone."); v1 = (__int64 *)FLAlertLayer::create_1( (int)a1 + 1016, (int)"Clear Data", (__int64)v2, (int)"Cancel", (int)"Clear", 320.0); if ( (v2[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64 *, __int64))(*v1 + 72))(v1, 1); ButtonSprite::updateBGImage(v1[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v1 + 1312))(v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source