{"type": "func", "start": 4296250752, "end": 4296250779, "name": "GJBaseGameLayer::maxZOrderForShaderZ", "pseudocode": "// \n// GJBaseGameLayer::maxZOrderForShaderZ from 0x100139580 to 0x10013959b (27 bytes)\n// \n// 0 xrefs:\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 __fastcall GJBaseGameLayer::maxZOrderForShaderZ(GJBaseGameLayer *a1, int a2)\n{\n  unsigned int v2; // esi\n  int result; // eax\n\n  v2 = a2 - 1;\n  result = 0;\n  if ( v2 <= 0xE )\n    return dword_100816CA0[v2];\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::maxZOrderForShaderZ from 0x100139580 to 0x10013959b (27 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100139580\nmov     rbp, rsp                                                       ; +0x1, 0x100139581\ndec     esi                                                            ; +0x4, 0x100139584\nxor     eax, eax                                                       ; +0x6, 0x100139586\ncmp     esi, 0Eh                                                       ; +0x8, 0x100139588\nja      short loc_100139599                                            ; +0xb, 0x10013958b\nmov     eax, esi                                                       ; +0xd, 0x10013958d\nlea     rcx, dword_100816CA0                                           ; +0xf, 0x10013958f\nmov     eax, [rcx+rax*4]                                               ; +0x16, 0x100139596\npop     rbp                                                            ; +0x19, 0x100139599\nretn                                                                   ; +0x1a, 0x10013959a", "xrefs": [], "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"}