{"type": "func", "start": 651112, "end": 651208, "name": "sub_9EF68", "pseudocode": "// \n// sub_9EF68 from 0x9ef68 to 0x9efc8 (96 bytes)\n// \n// 1 xrefs:\n// > sub_9F954 @ 0x9fb48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:14:28 +0000\n// \n\n__int64 __fastcall sub_9EF68(__int64 a1)\n{\n  unsigned int v1; // w11\n  __int64 v2; // x8\n  int v3; // w10\n  int v4; // w9\n\n  v1 = *(unsigned __int8 *)(a1 + 249);\n  v2 = *(_QWORD *)(a1 + 8);\n  if ( (v1 & 0xF) == 0 )\n    *(_DWORD *)(v2 + 68) += v1 >> 4;\n  v3 = *(_DWORD *)(v2 + 68);\n  if ( (v1 & 0xF0) == 0 )\n  {\n    v3 -= v1 & 0xF;\n    *(_DWORD *)(v2 + 68) = v3;\n  }\n  if ( v3 > 64 )\n  {\n    v4 = 64;\nLABEL_9:\n    *(_DWORD *)(v2 + 68) = v4;\n    goto LABEL_10;\n  }\n  if ( v3 < 0 )\n  {\n    v4 = 0;\n    goto LABEL_9;\n  }\nLABEL_10:\n  *(_BYTE *)(v2 + 60) |= 2u;\n  return 0;\n}", "assembly": "; \n; sub_9EF68 from 0x9ef68 to 0x9efc8 (96 bytes)\n; \n; 1 xrefs:\n; > sub_9F954 @ 0x9fb48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:14:28 +0000\n; \nLDRB            W11, [X0,#0xF9]                                        ; +0x0, 0x9ef68\nLDR             X8, [X0,#8]                                            ; +0x4, 0x9ef6c\nANDS            W9, W11, #0xF                                          ; +0x8, 0x9ef70\nB.NE            loc_9EF84                                              ; +0xc, 0x9ef74\nLDR             W10, [X8,#0x44]                                        ; +0x10, 0x9ef78\nADD             W10, W10, W11,LSR#4                                    ; +0x14, 0x9ef7c\nSTR             W10, [X8,#0x44]                                        ; +0x18, 0x9ef80\nLDR             W10, [X8,#0x44]                                        ; +0x1c, 0x9ef84\nTST             W11, #0xF0                                             ; +0x20, 0x9ef88\nB.NE            loc_9EF98                                              ; +0x24, 0x9ef8c\nSUB             W10, W10, W9                                           ; +0x28, 0x9ef90\nSTR             W10, [X8,#0x44]                                        ; +0x2c, 0x9ef94\nCMP             W10, #0x40 ; '@'                                       ; +0x30, 0x9ef98\nB.LE            loc_9EFA8                                              ; +0x34, 0x9ef9c\nMOV             W9, #0x40 ; '@'                                        ; +0x38, 0x9efa0\nB               loc_9EFB0                                              ; +0x3c, 0x9efa4\nTBZ             W10, #0x1F, loc_9EFB4                                  ; +0x40, 0x9efa8\nMOV             W9, WZR                                                ; +0x44, 0x9efac\nSTR             W9, [X8,#0x44]                                         ; +0x48, 0x9efb0\nLDRB            W9, [X8,#0x3C]                                         ; +0x4c, 0x9efb4\nMOV             W0, WZR                                                ; +0x50, 0x9efb8\nORR             W9, W9, #2                                             ; +0x54, 0x9efbc\nSTRB            W9, [X8,#0x3C]                                         ; +0x58, 0x9efc0\nRET                                                                    ; +0x5c, 0x9efc4", "xrefs": ["sub_9F954 @ 0x9fb48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}