; ; GJBaseGameLayer::sortSectionVector from 0x14032fc30 to 0x14032fe47 (535 bytes) ; ; 2 xrefs: ; > PlayLayer::resetLevel @ 0x140519b9a ; > @ 0x14091f4e4 ; ; 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:30:32 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x14032fc30 mov [rsp+arg_8], rbp ; +0x5, 0x14032fc35 mov [rsp+arg_10], rsi ; +0xa, 0x14032fc3a mov [rsp+arg_18], rdi ; +0xf, 0x14032fc3f push r12 ; +0x14, 0x14032fc44 push r14 ; +0x16, 0x14032fc46 push r15 ; +0x18, 0x14032fc48 sub rsp, 20h ; +0x1a, 0x14032fc4a mov rdx, [rcx+36B0h] ; +0x1e, 0x14032fc4e xor r12d, r12d ; +0x25, 0x14032fc55 mov rax, [rcx+36B8h] ; +0x28, 0x14032fc58 mov rbp, rcx ; +0x2f, 0x14032fc5f sub rax, rdx ; +0x32, 0x14032fc62 sar rax, 3 ; +0x35, 0x14032fc65 test rax, rax ; +0x39, 0x14032fc69 jz loc_14032FD38 ; +0x3c, 0x14032fc6c xor r14d, r14d ; +0x42, 0x14032fc72 mov rcx, [r14+rdx] ; +0x45, 0x14032fc75 test rcx, rcx ; +0x49, 0x14032fc79 jz short loc_14032FC8B ; +0x4c, 0x14032fc7c mov rax, [rcx+8] ; +0x4e, 0x14032fc7e sub rax, [rcx] ; +0x52, 0x14032fc82 sar rax, 3 ; +0x55, 0x14032fc85 jmp short loc_14032FC90 ; +0x59, 0x14032fc89 mov eax, 0FFFFFFFFh ; +0x5b, 0x14032fc8b xor edi, edi ; +0x60, 0x14032fc90 movsxd r15, eax ; +0x62, 0x14032fc92 test eax, eax ; +0x65, 0x14032fc95 jle short loc_14032FD10 ; +0x67, 0x14032fc97 nop dword ptr [rax+00000000h] ; +0x69, 0x14032fc99 mov rax, [rbp+36B0h] ; +0x70, 0x14032fca0 mov rcx, [r14+rax] ; +0x77, 0x14032fca7 mov rax, [rcx] ; +0x7b, 0x14032fcab mov rbx, [rax+rdi*8] ; +0x7e, 0x14032fcae test rbx, rbx ; +0x82, 0x14032fcb2 jz short loc_14032FD08 ; +0x85, 0x14032fcb5 mov rax, [rbp+3758h] ; +0x87, 0x14032fcb7 lea r9, sub_14030B120 ; +0x8e, 0x14032fcbe mov rcx, [r14+rax] ; +0x95, 0x14032fcc5 mov rax, [rcx] ; +0x99, 0x14032fcc9 mov rcx, [rbx] ; +0x9c, 0x14032fccc movsxd rsi, dword ptr [rax+rdi*4] ; +0x9f, 0x14032fccf mov r8, rsi ; +0xa3, 0x14032fcd3 lea rdx, [rcx+rsi*8] ; +0xa6, 0x14032fcd6 call sub_140355B30 ; +0xaa, 0x14032fcda xor edx, edx ; +0xaf, 0x14032fcdf test esi, esi ; +0xb1, 0x14032fce1 jle short loc_14032FD08 ; +0xb3, 0x14032fce3 xor r8d, r8d ; +0xb5, 0x14032fce5 nop dword ptr [rax+rax+00000000h] ; +0xb8, 0x14032fce8 mov rax, [rbx] ; +0xc0, 0x14032fcf0 lea r8, [r8+8] ; +0xc3, 0x14032fcf3 mov rcx, [r8+rax-8] ; +0xc7, 0x14032fcf7 mov [rcx+274h], edx ; +0xcc, 0x14032fcfc inc edx ; +0xd2, 0x14032fd02 cmp edx, esi ; +0xd4, 0x14032fd04 jl short loc_14032FCF0 ; +0xd6, 0x14032fd06 inc rdi ; +0xd8, 0x14032fd08 cmp rdi, r15 ; +0xdb, 0x14032fd0b jl short loc_14032FCA0 ; +0xde, 0x14032fd0e mov rdx, [rbp+36B0h] ; +0xe0, 0x14032fd10 inc r12d ; +0xe7, 0x14032fd17 mov rcx, [rbp+36B8h] ; +0xea, 0x14032fd1a add r14, 8 ; +0xf1, 0x14032fd21 sub rcx, rdx ; +0xf5, 0x14032fd25 movsxd rax, r12d ; +0xf8, 0x14032fd28 sar rcx, 3 ; +0xfb, 0x14032fd2b cmp rax, rcx ; +0xff, 0x14032fd2f jb loc_14032FC75 ; +0x102, 0x14032fd32 mov rdx, [rbp+36C8h] ; +0x108, 0x14032fd38 xor r12d, r12d ; +0x10f, 0x14032fd3f mov rax, [rbp+36D0h] ; +0x112, 0x14032fd42 sub rax, rdx ; +0x119, 0x14032fd49 sar rax, 3 ; +0x11c, 0x14032fd4c test rax, rax ; +0x120, 0x14032fd50 jz loc_14032FE28 ; +0x123, 0x14032fd53 xor r14d, r14d ; +0x129, 0x14032fd59 nop dword ptr [rax+00h] ; +0x12c, 0x14032fd5c mov rcx, [rdx+r14] ; +0x130, 0x14032fd60 test rcx, rcx ; +0x134, 0x14032fd64 jz short loc_14032FD76 ; +0x137, 0x14032fd67 mov rax, [rcx+8] ; +0x139, 0x14032fd69 sub rax, [rcx] ; +0x13d, 0x14032fd6d sar rax, 3 ; +0x140, 0x14032fd70 jmp short loc_14032FD7B ; +0x144, 0x14032fd74 mov eax, 0FFFFFFFFh ; +0x146, 0x14032fd76 xor edi, edi ; +0x14b, 0x14032fd7b movsxd r15, eax ; +0x14d, 0x14032fd7d test eax, eax ; +0x150, 0x14032fd80 jle short loc_14032FE00 ; +0x152, 0x14032fd82 nop dword ptr [rax+00h] ; +0x154, 0x14032fd84 nop dword ptr [rax+rax+00000000h] ; +0x158, 0x14032fd88 mov rax, [rbp+36C8h] ; +0x160, 0x14032fd90 mov rcx, [r14+rax] ; +0x167, 0x14032fd97 mov rax, [rcx] ; +0x16b, 0x14032fd9b mov rbx, [rax+rdi*8] ; +0x16e, 0x14032fd9e test rbx, rbx ; +0x172, 0x14032fda2 jz short loc_14032FDF8 ; +0x175, 0x14032fda5 mov rax, [rbp+3770h] ; +0x177, 0x14032fda7 lea r9, sub_14030B120 ; +0x17e, 0x14032fdae mov rcx, [r14+rax] ; +0x185, 0x14032fdb5 mov rax, [rcx] ; +0x189, 0x14032fdb9 mov rcx, [rbx] ; +0x18c, 0x14032fdbc movsxd rsi, dword ptr [rax+rdi*4] ; +0x18f, 0x14032fdbf mov r8, rsi ; +0x193, 0x14032fdc3 lea rdx, [rcx+rsi*8] ; +0x196, 0x14032fdc6 call sub_140355ED0 ; +0x19a, 0x14032fdca xor eax, eax ; +0x19f, 0x14032fdcf test esi, esi ; +0x1a1, 0x14032fdd1 jle short loc_14032FDF8 ; +0x1a3, 0x14032fdd3 xor r8d, r8d ; +0x1a5, 0x14032fdd5 nop dword ptr [rax+rax+00000000h] ; +0x1a8, 0x14032fdd8 mov rcx, [rbx] ; +0x1b0, 0x14032fde0 lea r8, [r8+8] ; +0x1b3, 0x14032fde3 mov rdx, [rcx+r8-8] ; +0x1b7, 0x14032fde7 mov [rdx+274h], eax ; +0x1bc, 0x14032fdec inc eax ; +0x1c2, 0x14032fdf2 cmp eax, esi ; +0x1c4, 0x14032fdf4 jl short loc_14032FDE0 ; +0x1c6, 0x14032fdf6 inc rdi ; +0x1c8, 0x14032fdf8 cmp rdi, r15 ; +0x1cb, 0x14032fdfb jl short loc_14032FD90 ; +0x1ce, 0x14032fdfe mov rdx, [rbp+36C8h] ; +0x1d0, 0x14032fe00 inc r12d ; +0x1d7, 0x14032fe07 mov rcx, [rbp+36D0h] ; +0x1da, 0x14032fe0a add r14, 8 ; +0x1e1, 0x14032fe11 sub rcx, rdx ; +0x1e5, 0x14032fe15 movsxd rax, r12d ; +0x1e8, 0x14032fe18 sar rcx, 3 ; +0x1eb, 0x14032fe1b cmp rax, rcx ; +0x1ef, 0x14032fe1f jb loc_14032FD60 ; +0x1f2, 0x14032fe22 mov rbx, [rsp+38h+arg_0] ; +0x1f8, 0x14032fe28 mov rbp, [rsp+38h+arg_8] ; +0x1fd, 0x14032fe2d mov rsi, [rsp+38h+arg_10] ; +0x202, 0x14032fe32 mov rdi, [rsp+38h+arg_18] ; +0x207, 0x14032fe37 add rsp, 20h ; +0x20c, 0x14032fe3c pop r15 ; +0x210, 0x14032fe40 pop r14 ; +0x212, 0x14032fe42 pop r12 ; +0x214, 0x14032fe44 retn ; +0x216, 0x14032fe46