{"type": "func", "start": 799896, "end": 799992, "name": "sub_C3498", "pseudocode": "// \n// sub_C3498 from 0xc3498 to 0xc34f8 (96 bytes)\n// \n// 1 xrefs:\n// > sub_C32A0 @ 0xc3358\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_C3498(__int64 a1, _QWORD *a2, _DWORD *a3, _BYTE *a4)\n{\n  __int64 result; // x0\n\n  result = sub_C29DC(a1);\n  if ( !(_DWORD)result )\n  {\n    if ( a4 )\n      *a4 = *(_BYTE *)(a1 + 593);\n    if ( a3 )\n      *a3 = *(_DWORD *)(a1 + 576);\n    *a2 = *(_QWORD *)(a1 + 560);\n    *(_BYTE *)(a1 + 593) = 1;\n  }\n  return result;\n}", "assembly": "; \n; sub_C3498 from 0xc3498 to 0xc34f8 (96 bytes)\n; \n; 1 xrefs:\n; > sub_C32A0 @ 0xc3358\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0xc3498\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0xc349c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0xc34a0\nADD             X29, SP, #0x20                                         ; +0xc, 0xc34a4\nMOV             X22, X3                                                ; +0x10, 0xc34a8\nMOV             X21, X2                                                ; +0x14, 0xc34ac\nMOV             X19, X1                                                ; +0x18, 0xc34b0\nMOV             X20, X0                                                ; +0x1c, 0xc34b4\nBL              sub_C29DC                                              ; +0x20, 0xc34b8\nCBNZ            W0, loc_C34E8                                          ; +0x24, 0xc34bc\nCBZ             X22, loc_C34CC                                         ; +0x28, 0xc34c0\nLDRB            W8, [X20,#0x251]                                       ; +0x2c, 0xc34c4\nSTRB            W8, [X22]                                              ; +0x30, 0xc34c8\nCBZ             X21, loc_C34D8                                         ; +0x34, 0xc34cc\nLDR             W8, [X20,#0x240]                                       ; +0x38, 0xc34d0\nSTR             W8, [X21]                                              ; +0x3c, 0xc34d4\nLDR             X8, [X20,#0x230]                                       ; +0x40, 0xc34d8\nMOV             W9, #1                                                 ; +0x44, 0xc34dc\nSTR             X8, [X19]                                              ; +0x48, 0xc34e0\nSTRB            W9, [X20,#0x251]                                       ; +0x4c, 0xc34e4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0xc34e8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x54, 0xc34ec\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x58, 0xc34f0\nRET                                                                    ; +0x5c, 0xc34f4", "xrefs": ["sub_C32A0 @ 0xc3358"], "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"}