; ; GJGameLevel::clearPlatformerSave from 0x1402640e0 to 0x1402641ab (203 bytes) ; ; 13 xrefs: ; > EditLevelLayer::onPlay @ 0x14017b152 ; > EditLevelLayer::FLAlert_Clicked @ 0x14017c751 ; > sub_140274000 @ 0x1402740af ; > sub_140274000 @ 0x14027411f ; > sub_140274000 @ 0x14027418f ; > sub_140274000 @ 0x1402741ff ; > sub_140274000 @ 0x140274283 ; > GameLevelOptionsLayer::FLAlert_Clicked @ 0x1403aa9c1 ; > LevelEditorLayer::saveLevel @ 0x1403ff2e9 ; > LevelInfoLayer::onPlay @ 0x140421941 ; > LevelInfoLayer::FLAlert_Clicked @ 0x140426462 ; > PlayLayer::levelComplete @ 0x140506b00 ; > @ 0x14091c850 ; ; 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 11:28:49 +0000 ; push rbx ; +0x0, 0x1402640e0 sub rsp, 50h ; +0x2, 0x1402640e2 mov rax, cs:__security_cookie ; +0x6, 0x1402640e6 xor rax, rsp ; +0xd, 0x1402640ed mov [rsp+58h+var_10], rax ; +0x10, 0x1402640f0 mov rbx, rcx ; +0x15, 0x1402640f5 add rcx, 660h; void * ; +0x18, 0x1402640f8 xor r8d, r8d; Size ; +0x1f, 0x1402640ff lea rdx, byte_1406ED6E0; Src ; +0x22, 0x140264102 call sub_1400405A0 ; +0x29, 0x140264109 lea rcx, [rbx+680h]; void * ; +0x2e, 0x14026410e xor r8d, r8d; Size ; +0x35, 0x140264115 lea rdx, byte_1406ED6E0; Src ; +0x38, 0x140264118 call sub_1400405A0 ; +0x3f, 0x14026411f xor eax, eax ; +0x44, 0x140264124 mov [rbx+6A0h], rax ; +0x46, 0x140264126 cmp cs:qword_14090BFB0, rax ; +0x4d, 0x14026412d jnz short loc_140264162 ; +0x54, 0x140264134 mov ecx, 690h; Size ; +0x56, 0x140264136 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5b, 0x14026413b mov [rsp+58h+var_38], rax ; +0x60, 0x140264140 mov rcx, rax ; +0x65, 0x140264145 call GameLevelManager__GameLevelManager ; +0x68, 0x140264148 nop ; +0x6d, 0x14026414d mov cs:qword_14090BFB0, rax ; +0x6e, 0x14026414e mov rcx, [rax] ; +0x75, 0x140264155 mov r8, [rcx+48h] ; +0x78, 0x140264158 mov rcx, rax ; +0x7c, 0x14026415c call r8 ; +0x7f, 0x14026415f mov eax, [rbx+4C4h] ; +0x82, 0x140264162 cmp eax, 3 ; +0x88, 0x140264168 jz short loc_140264172 ; +0x8b, 0x14026416b cmp eax, 2 ; +0x8d, 0x14026416d jnz short loc_140264198 ; +0x90, 0x140264170 mov rdx, rbx ; +0x92, 0x140264172 lea rcx, [rsp+58h+var_30] ; +0x95, 0x140264175 call sub_140222BE0 ; +0x9a, 0x14026417a nop ; +0x9f, 0x14026417f mov rdx, rax ; +0xa0, 0x140264180 mov ecx, 3 ; +0xa3, 0x140264183 call sub_140223100 ; +0xa8, 0x140264188 nop ; +0xad, 0x14026418d lea rcx, [rsp+58h+var_30] ; +0xae, 0x14026418e call sub_14003D310 ; +0xb3, 0x140264193 mov rcx, [rsp+58h+var_10] ; +0xb8, 0x140264198 xor rcx, rsp; StackCookie ; +0xbd, 0x14026419d call __security_check_cookie ; +0xc0, 0x1402641a0 add rsp, 50h ; +0xc5, 0x1402641a5 pop rbx ; +0xc9, 0x1402641a9 retn ; +0xca, 0x1402641aa