{"type": "func", "start": 414928, "end": 414984, "name": "sub_654D0", "pseudocode": "// \n// sub_654D0 from 0x654d0 to 0x65508 (56 bytes)\n// \n// 1 xrefs:\n// > sub_64AD8 @ 0x64b50\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_654D0(__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 + 8);\n  *(_BYTE *)(v3 + 12) = 0;\n  *a2 = v4;\n  *(_DWORD *)(v3 + 8) = *(_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_654D0 from 0x654d0 to 0x65508 (56 bytes)\n; \n; 1 xrefs:\n; > sub_64AD8 @ 0x64b50\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\nLDRSW           X8, [X1]                                               ; +0x0, 0x654d0\nLDR             X9, [X0,#0x10]                                         ; +0x4, 0x654d4\nADD             X9, X9, X8,LSL#4                                       ; +0x8, 0x654d8\nLDR             W10, [X9,#8]                                           ; +0xc, 0x654dc\nSTRB            WZR, [X9,#0xC]                                         ; +0x10, 0x654e0\nSTR             W10, [X1]                                              ; +0x14, 0x654e4\nLDR             W10, [X0,#0x20]                                        ; +0x18, 0x654e8\nSTR             W10, [X9,#8]                                           ; +0x1c, 0x654ec\nLDR             W9, [X0,#0x24]                                         ; +0x20, 0x654f0\nSTR             W8, [X0,#0x20]                                         ; +0x24, 0x654f4\nSUB             W8, W9, #1                                             ; +0x28, 0x654f8\nSTR             W8, [X0,#0x24]                                         ; +0x2c, 0x654fc\nMOV             W0, WZR                                                ; +0x30, 0x65500\nRET                                                                    ; +0x34, 0x65504", "xrefs": ["sub_64AD8 @ 0x64b50"], "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"}