{"type": "func", "start": 547020, "end": 547076, "name": "sub_858CC", "pseudocode": "// \n// sub_858CC from 0x858cc to 0x85904 (56 bytes)\n// \n// 1 xrefs:\n// > sub_83E04 @ 0x848f8\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:09 +0000\n// \n\n__int64 __fastcall sub_858CC(__int64 a1, int *a2)\n{\n  __int64 v2; // x8\n  __int64 v3; // x9\n  int v4; // w10\n\n  v2 = *a2;\n  v3 = *(_QWORD *)(a1 + 16) + 16 * v2;\n  v4 = *(_DWORD *)(v3 + 4);\n  *(_QWORD *)(v3 + 8) = 0;\n  *a2 = v4;\n  *(_DWORD *)(v3 + 4) = *(_DWORD *)(a1 + 32);\n  LODWORD(v3) = *(_DWORD *)(a1 + 36);\n  *(_DWORD *)(a1 + 32) = v2;\n  *(_DWORD *)(a1 + 36) = v3 - 1;\n  return 0;\n}", "assembly": "; \n; sub_858CC from 0x858cc to 0x85904 (56 bytes)\n; \n; 1 xrefs:\n; > sub_83E04 @ 0x848f8\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:09 +0000\n; \nLDRSW           X8, [X1]                                               ; +0x0, 0x858cc\nLDR             X9, [X0,#0x10]                                         ; +0x4, 0x858d0\nADD             X9, X9, X8,LSL#4                                       ; +0x8, 0x858d4\nLDR             W10, [X9,#4]                                           ; +0xc, 0x858d8\nSTR             XZR, [X9,#8]                                           ; +0x10, 0x858dc\nSTR             W10, [X1]                                              ; +0x14, 0x858e0\nLDR             W10, [X0,#0x20]                                        ; +0x18, 0x858e4\nSTR             W10, [X9,#4]                                           ; +0x1c, 0x858e8\nLDR             W9, [X0,#0x24]                                         ; +0x20, 0x858ec\nSTR             W8, [X0,#0x20]                                         ; +0x24, 0x858f0\nSUB             W8, W9, #1                                             ; +0x28, 0x858f4\nSTR             W8, [X0,#0x24]                                         ; +0x2c, 0x858f8\nMOV             W0, WZR                                                ; +0x30, 0x858fc\nRET                                                                    ; +0x34, 0x85900", "xrefs": ["sub_83E04 @ 0x848f8"], "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"}