; ; GJBaseGameLayer::maxZOrderForShaderZ from 0x1402237b0 to 0x140223844 (148 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::triggerGradientCommand @ 0x14021f9c2 ; > GJBaseGameLayer::updateShaderLayer @ 0x140222b46 ; > @ 0x1406cd5b4 ; ; 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 ; sub rsp, 28h ; +0x0, 0x1402237b0 lea eax, [rdx-1]; switch 15 cases ; +0x4, 0x1402237b4 cmp eax, 0Eh ; +0x7, 0x1402237b7 ja short def_1402237D0; jumptable 00000001402237D0 default case ; +0xa, 0x1402237ba lea r8, cs:140000000h ; +0xc, 0x1402237bc cdqe ; +0x13, 0x1402237c3 mov ecx, ds:(jpt_1402237D0 - 140000000h)[r8+rax*4] ; +0x15, 0x1402237c5 add rcx, r8 ; +0x1d, 0x1402237cd jmp rcx; switch jump ; +0x20, 0x1402237d0 mov eax, 0FFFFF9C0h; jumptable 00000001402237D0 cases 1,2 ; +0x22, 0x1402237d2 add rsp, 28h ; +0x27, 0x1402237d7 retn ; +0x2b, 0x1402237db mov eax, 3Dh ; '='; jumptable 00000001402237D0 case 8 ; +0x2c, 0x1402237dc add rsp, 28h ; +0x31, 0x1402237e1 retn ; +0x35, 0x1402237e5 inc edx; jumptable 00000001402237D0 cases 3-7,9-14 ; +0x36, 0x1402237e6 call GJBaseGameLayer__minZOrderForShaderZ ; +0x38, 0x1402237e8 dec eax ; +0x3d, 0x1402237ed add rsp, 28h ; +0x3f, 0x1402237ef retn ; +0x43, 0x1402237f3 mov eax, 578h; jumptable 00000001402237D0 case 15 ; +0x44, 0x1402237f4 add rsp, 28h ; +0x49, 0x1402237f9 retn ; +0x4d, 0x1402237fd xor eax, eax; jumptable 00000001402237D0 default case ; +0x4e, 0x1402237fe add rsp, 28h ; +0x50, 0x140223800 retn ; +0x54, 0x140223804 align 8 ; +0x55, 0x140223805 dd offset loc_1402237D2 - 140000000h; jump table for switch statement ; +0x58, 0x140223808