// // sub_1008B4A50 from 0x1008b4a50 to 0x1008b4b42 (242 bytes) // // 1 xrefs: // > ClearPlatformerSavesPopup::init @ 0x1008b481d // // 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:23 +0000 // void __fastcall sub_1008B4A50(__int64 a1) { const char *v1; // r15 size_t v2; // r12 void *v3; // rbx __int64 *v4; // r14 void *v5[7]; // [rsp+8h] [rbp-38h] BYREF v1 = "This will clear platformer saves on all non-favorite levels.\nContinue?"; if ( *(_BYTE *)(a1 + 672) ) v1 = "This will clear all platformer saves, including favorites.\nContinue?"; v2 = 78; if ( *(_BYTE *)(a1 + 672) ) v2 = 84; v3 = operator new((v2 | 7) + 1); memcpy(v3, v1, v2); *((_BYTE *)v3 + v2) = 0; sub_10001AD30(v5, v3, v2); v4 = (__int64 *)FLAlertLayer::create_1( (int)a1 + 664, (int)"Confirm", (__int64)v5, (int)"Cancel", (int)"Delete", 380.0); if ( ((__int64)v5[0] & 1) != 0 ) operator delete(v5[2]); (*(void (__fastcall **)(__int64 *, __int64))(*v4 + 72))(v4, 1); ButtonSprite::updateBGImage(v4[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v4 + 1312))(v4); operator delete(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source