{"type": "func", "start": 8769304, "end": 8769336, "name": "GJBaseGameLayer::minZOrderForShaderZ", "pseudocode": "// \n// GJBaseGameLayer::minZOrderForShaderZ from 0x85cf18 to 0x85cf38 (32 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::maxZOrderForShaderZ @ 0x85cf8c\n// > GJBaseGameLayer::updateShaderLayer @ 0x85f50c\n// > <???> @ 0x863b8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint GJBaseGameLayer::minZOrderForShaderZ(GJBaseGameLayer *a1, int a2)\n{\n  unsigned int v2; // w1\n  int result; // w0\n\n  v2 = a2 - 1;\n  result = 0;\n  if ( v2 <= 0xE )\n    return dword_EED5F0[v2];\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::minZOrderForShaderZ from 0x85cf18 to 0x85cf38 (32 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::maxZOrderForShaderZ @ 0x85cf8c\n; > GJBaseGameLayer::updateShaderLayer @ 0x85f50c\n; > <???> @ 0x863b8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             W1, W1, #1                                             ; +0x0, 0x85cf18\nMOV             W0, #0                                                 ; +0x4, 0x85cf1c\nCMP             W1, #0xE                                               ; +0x8, 0x85cf20\nB.HI            locret_85CF34                                          ; +0xc, 0x85cf24\nADRL            X0, dword_EED5F0                                       ; +0x10, 0x85cf28\nLDR             W0, [X0,W1,UXTW#2]                                     ; +0x18, 0x85cf30\nRET                                                                    ; +0x1c, 0x85cf34", "xrefs": ["GJBaseGameLayer::maxZOrderForShaderZ @ 0x85cf8c", "GJBaseGameLayer::updateShaderLayer @ 0x85f50c", "<???> @ 0x863b8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}