; ; GJBaseGameLayer::resetGradientLayers from 0x140220fa0 to 0x140221022 (130 bytes) ; ; 6 xrefs: ; > GJBaseGameLayer::triggerGradientCommand @ 0x14021f777 ; > GJBaseGameLayer::resetLevelVariables @ 0x14023b552 ; > LevelEditorLayer::updateGameObjects @ 0x1402dc926 ; > @ 0x14067fca8 ; > @ 0x14067fcb8 ; > @ 0x1406cd4c4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rdi ; +0x0, 0x140220fa0 sub rsp, 20h ; +0x2, 0x140220fa2 mov rdi, [rcx+3168h] ; +0x6, 0x140220fa6 test rdi, rdi ; +0xd, 0x140220fad jz short loc_14022101C ; +0x10, 0x140220fb0 mov rdi, [rdi+38h] ; +0x12, 0x140220fb2 test rdi, rdi ; +0x16, 0x140220fb6 jz short loc_14022101C ; +0x19, 0x140220fb9 mov [rsp+28h+arg_0], rbx ; +0x1b, 0x140220fbb mov rbx, [rdi+120h] ; +0x20, 0x140220fc0 mov [rsp+28h+arg_8], rsi ; +0x27, 0x140220fc7 xor esi, esi ; +0x2c, 0x140220fcc xchg ax, ax ; +0x2e, 0x140220fce mov rdi, [rdi+108h] ; +0x30, 0x140220fd0 xor edx, edx ; +0x37, 0x140220fd7 mov rcx, rdi ; +0x39, 0x140220fd9 mov rax, [rdi] ; +0x3c, 0x140220fdc call qword ptr [rax+1F8h] ; +0x3f, 0x140220fdf mov rax, [rdi] ; +0x45, 0x140220fe5 xor edx, edx ; +0x48, 0x140220fe8 mov rcx, rdi ; +0x4a, 0x140220fea mov [rdi+248h], rsi ; +0x4d, 0x140220fed mov [rdi+250h], sil ; +0x54, 0x140220ff4 call qword ptr [rax+140h] ; +0x5b, 0x140220ffb mov rdi, rbx ; +0x61, 0x140221001 test rbx, rbx ; +0x64, 0x140221004 jz short loc_140221012 ; +0x67, 0x140221007 mov rbx, [rbx+120h] ; +0x69, 0x140221009 jmp short loc_140220FD0 ; +0x70, 0x140221010 mov rbx, [rsp+28h+arg_0] ; +0x72, 0x140221012 mov rsi, [rsp+28h+arg_8] ; +0x77, 0x140221017 add rsp, 20h ; +0x7c, 0x14022101c pop rdi ; +0x80, 0x140221020 retn ; +0x81, 0x140221021