{"type": "func", "start": 575784, "end": 575864, "name": "sub_8C928", "pseudocode": "// \n// sub_8C928 from 0x8c928 to 0x8c978 (80 bytes)\n// \n// 1 xrefs:\n// > sub_8D6F8 @ 0x8e75c\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\n__int64 __fastcall sub_8C928(__int64 a1)\n{\n  unsigned int v1; // w11\n  __int64 v2; // x8\n  int v3; // w9\n  int v4; // w9\n\n  v1 = *(unsigned __int8 *)(a1 + 249);\n  v2 = *(_QWORD *)(a1 + 8);\n  if ( (v1 & 0xF) == 0 )\n    *(_DWORD *)(a1 + 220) += v1 >> 4;\n  v3 = *(_DWORD *)(a1 + 220);\n  if ( (v1 & 0xF0) == 0 )\n  {\n    v3 -= v1 & 0xF;\n    *(_DWORD *)(a1 + 220) = v3;\n  }\n  if ( v3 > 64 )\n  {\n    v4 = 64;\nLABEL_9:\n    *(_DWORD *)(a1 + 220) = 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_8C928 from 0x8c928 to 0x8c978 (80 bytes)\n; \n; 1 xrefs:\n; > sub_8D6F8 @ 0x8e75c\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\nLDRB            W11, [X0,#0xF9]                                        ; +0x0, 0x8c928\nLDR             X8, [X0,#8]                                            ; +0x4, 0x8c92c\nANDS            W10, W11, #0xF                                         ; +0x8, 0x8c930\nB.NE            loc_8C944                                              ; +0xc, 0x8c934\nLDR             W9, [X0,#0xDC]                                         ; +0x10, 0x8c938\nADD             W9, W9, W11,LSR#4                                      ; +0x14, 0x8c93c\nSTR             W9, [X0,#0xDC]                                         ; +0x18, 0x8c940\nLDR             W9, [X0,#0xDC]                                         ; +0x1c, 0x8c944\nTST             W11, #0xF0                                             ; +0x20, 0x8c948\nB.NE            loc_8C958                                              ; +0x24, 0x8c94c\nSUB             W9, W9, W10                                            ; +0x28, 0x8c950\nSTR             W9, [X0,#0xDC]                                         ; +0x2c, 0x8c954\nCMP             W9, #0x40 ; '@'                                        ; +0x30, 0x8c958\nB.LE            loc_8C968                                              ; +0x34, 0x8c95c\nMOV             W9, #0x40 ; '@'                                        ; +0x38, 0x8c960\nB               loc_8C970                                              ; +0x3c, 0x8c964\nTBZ             W9, #0x1F, loc_8C974                                   ; +0x40, 0x8c968\nMOV             W9, WZR                                                ; +0x44, 0x8c96c\nSTR             W9, [X0,#0xDC]                                         ; +0x48, 0x8c970\nB               loc_918BC                                              ; +0x4c, 0x8c974", "xrefs": ["sub_8D6F8 @ 0x8e75c"], "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"}