{"type": "func", "start": 4300586080, "end": 4300586133, "name": "GJGameLevel::getLengthKey", "pseudocode": "// \n// GJGameLevel::getLengthKey from 0x10055bc60 to 0x10055bc95 (53 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::init @ 0x100291688\n// > EditorPauseLayer::saveLevel @ 0x100294a41\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 GJGameLevel::getLengthKey(int a1, bool a2)\n{\n  int result; // eax\n\n  result = 5;\n  if ( !a2 )\n  {\n    result = 0;\n    if ( a1 >= 10 )\n    {\n      result = 1;\n      if ( (unsigned int)a1 >= 0x1E )\n      {\n        result = 2;\n        if ( (unsigned int)a1 >= 0x3C )\n          return (((unsigned int)a1 | 0x400000000uLL) - 120) >> 32;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJGameLevel::getLengthKey from 0x10055bc60 to 0x10055bc95 (53 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::init @ 0x100291688\n; > EditorPauseLayer::saveLevel @ 0x100294a41\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, 0x10055bc60\nmov     rbp, rsp                                                       ; +0x1, 0x10055bc61\nmov     eax, 5                                                         ; +0x4, 0x10055bc64\ntest    esi, esi                                                       ; +0x9, 0x10055bc69\njnz     short loc_10055BC93                                            ; +0xb, 0x10055bc6b\nxor     eax, eax                                                       ; +0xd, 0x10055bc6d\ncmp     edi, 0Ah                                                       ; +0xf, 0x10055bc6f\njl      short loc_10055BC93                                            ; +0x12, 0x10055bc72\nmov     eax, 1                                                         ; +0x14, 0x10055bc74\ncmp     edi, 1Eh                                                       ; +0x19, 0x10055bc79\njb      short loc_10055BC93                                            ; +0x1c, 0x10055bc7c\nmov     eax, 2                                                         ; +0x1e, 0x10055bc7e\ncmp     edi, 3Ch ; '<'                                                 ; +0x23, 0x10055bc83\njb      short loc_10055BC93                                            ; +0x26, 0x10055bc86\ncmp     edi, 78h ; 'x'                                                 ; +0x28, 0x10055bc88\nmov     eax, 4                                                         ; +0x2b, 0x10055bc8b\nsbb     eax, 0                                                         ; +0x30, 0x10055bc90\npop     rbp                                                            ; +0x33, 0x10055bc93\nretn                                                                   ; +0x34, 0x10055bc94", "xrefs": ["EditorPauseLayer::init @ 0x100291688", "EditorPauseLayer::saveLevel @ 0x100294a41"], "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"}