{"type": "func", "start": 411012, "end": 411040, "name": "sub_64584", "pseudocode": "// \n// sub_64584 from 0x64584 to 0x645a0 (28 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c930\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:54 +0000\n// \n\n__int64 __fastcall sub_64584(__int64 a1, char *a2)\n{\n  __int64 v2; // x8\n  __int64 result; // x0\n  char v4; // w8\n\n  v2 = *(_QWORD *)(a1 + 88);\n  result = 0;\n  if ( v2 )\n    v4 = 1;\n  else\n    v4 = -1;\n  *a2 = v4;\n  return result;\n}", "assembly": "; \n; sub_64584 from 0x64584 to 0x645a0 (28 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c930\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:54 +0000\n; \nLDR             X8, [X0,#0x58]                                         ; +0x0, 0x64584\nMOV             W0, WZR                                                ; +0x4, 0x64588\nCMP             X8, #0                                                 ; +0x8, 0x6458c\nMOV             W8, #0xFFFFFFFF                                        ; +0xc, 0x64590\nCNEG            W8, W8, NE                                             ; +0x10, 0x64594\nSTRB            W8, [X1]                                               ; +0x14, 0x64598\nRET                                                                    ; +0x18, 0x6459c", "xrefs": ["<???> @ 0x10c930"], "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"}