{"type": "func", "start": 382816, "end": 382860, "name": "sub_5D760", "pseudocode": "// \n// sub_5D760 from 0x5d760 to 0x5d78c (44 bytes)\n// \n// 5 xrefs:\n// > sub_5DCA0 @ 0x5ddc8\n// > sub_5DFD4 @ 0x5e04c\n// > sub_5E350 @ 0x5e364\n// > sub_5E5D0 @ 0x5e634\n// > sub_5F298 @ 0x5f29c\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_5D760(__int64 result)\n{\n  __int64 v1; // x8\n\n  v1 = *(_QWORD *)(result + 24);\n  *(_BYTE *)(v1 + 8) = 1;\n  if ( !*(_BYTE *)(result + 312) )\n  {\n    *(_BYTE *)(result + 312) = 1;\n    *(_QWORD *)(result + 304) = *(_QWORD *)(v1 + 432);\n    *(_QWORD *)(v1 + 432) = result;\n  }\n  return result;\n}", "assembly": "; \n; sub_5D760 from 0x5d760 to 0x5d78c (44 bytes)\n; \n; 5 xrefs:\n; > sub_5DCA0 @ 0x5ddc8\n; > sub_5DFD4 @ 0x5e04c\n; > sub_5E350 @ 0x5e364\n; > sub_5E5D0 @ 0x5e634\n; > sub_5F298 @ 0x5f29c\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\nLDR             X8, [X0,#0x18]                                         ; +0x0, 0x5d760\nMOV             W9, #1                                                 ; +0x4, 0x5d764\nSTRB            W9, [X8,#8]                                            ; +0x8, 0x5d768\nLDRB            W10, [X0,#0x138]                                       ; +0xc, 0x5d76c\nCBZ             W10, loc_5D778                                         ; +0x10, 0x5d770\nRET                                                                    ; +0x14, 0x5d774\nSTRB            W9, [X0,#0x138]                                        ; +0x18, 0x5d778\nLDR             X9, [X8,#0x1B0]                                        ; +0x1c, 0x5d77c\nSTR             X9, [X0,#0x130]                                        ; +0x20, 0x5d780\nSTR             X0, [X8,#0x1B0]                                        ; +0x24, 0x5d784\nRET                                                                    ; +0x28, 0x5d788", "xrefs": ["sub_5DCA0 @ 0x5ddc8", "sub_5DFD4 @ 0x5e04c", "sub_5E350 @ 0x5e364", "sub_5E5D0 @ 0x5e634", "sub_5F298 @ 0x5f29c"], "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"}