{"type": "func", "start": 422128, "end": 422180, "name": "sub_670F0", "pseudocode": "// \n// sub_670F0 from 0x670f0 to 0x67124 (52 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10ce18\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_670F0(_DWORD *a1, int a2)\n{\n  unsigned int v3; // w9\n\n  if ( atomic_load(a1 + 68) )\n  {\n    v3 = atomic_load(a1 + 68);\n    if ( v3 != 7 )\n      return 46;\n  }\n  a1[100] = a2;\n  a1[21] = a2;\n  return 0;\n}", "assembly": "; \n; sub_670F0 from 0x670f0 to 0x67124 (52 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10ce18\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\nADD             X9, X0, #0x110                                         ; +0x0, 0x670f0\nLDAR            W10, [X9]                                              ; +0x4, 0x670f4\nMOV             X8, X0                                                 ; +0x8, 0x670f8\nCBZ             W10, loc_6710C                                         ; +0xc, 0x670fc\nLDAR            W9, [X9]                                               ; +0x10, 0x67100\nCMP             W9, #7                                                 ; +0x14, 0x67104\nB.NE            loc_6711C                                              ; +0x18, 0x67108\nMOV             W0, WZR                                                ; +0x1c, 0x6710c\nSTR             W1, [X8,#0x190]                                        ; +0x20, 0x67110\nSTR             W1, [X8,#0x54]                                         ; +0x24, 0x67114\nRET                                                                    ; +0x28, 0x67118\nMOV             W0, #0x2E ; '.'                                        ; +0x2c, 0x6711c\nRET                                                                    ; +0x30, 0x67120", "xrefs": ["<???> @ 0x10ce18"], "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"}