{"type": "func", "start": 340420, "end": 340460, "name": "sub_531C4", "pseudocode": "// \n// sub_531C4 from 0x531c4 to 0x531ec (40 bytes)\n// \n// 1 xrefs:\n// > sub_53094 @ 0x53124\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:13:48 +0000\n// \n\n__int64 __fastcall sub_531C4(__int64 a1)\n{\n  __int64 v1; // x8\n\n  v1 = *(_QWORD *)(a1 + 592);\n  if ( v1 )\n  {\n    *(_BYTE *)(*(_QWORD *)(v1 + 32) + *(int *)(a1 + 600)) = 0;\n    --*(_DWORD *)(v1 + 16);\n  }\n  return 0;\n}", "assembly": "; \n; sub_531C4 from 0x531c4 to 0x531ec (40 bytes)\n; \n; 1 xrefs:\n; > sub_53094 @ 0x53124\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:13:48 +0000\n; \nLDR             X8, [X0,#0x250]                                        ; +0x0, 0x531c4\nCBZ             X8, loc_531E4                                          ; +0x4, 0x531c8\nLDR             X9, [X8,#0x20]                                         ; +0x8, 0x531cc\nLDRSW           X10, [X0,#0x258]                                       ; +0xc, 0x531d0\nSTRB            WZR, [X9,X10]                                          ; +0x10, 0x531d4\nLDR             W9, [X8,#0x10]                                         ; +0x14, 0x531d8\nSUB             W9, W9, #1                                             ; +0x18, 0x531dc\nSTR             W9, [X8,#0x10]                                         ; +0x1c, 0x531e0\nMOV             W0, WZR                                                ; +0x20, 0x531e4\nRET                                                                    ; +0x24, 0x531e8", "xrefs": ["sub_53094 @ 0x53124"], "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"}