{"type": "func", "start": 873696, "end": 873780, "name": "sub_D54E0", "pseudocode": "// \n// sub_D54E0 from 0xd54e0 to 0xd5534 (84 bytes)\n// \n// 3 xrefs:\n// > sub_632C4 @ 0x6331c\n// > sub_E47A4 @ 0xe47b4\n// > sub_E4E68 @ 0xe4e78\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\ndouble __fastcall sub_D54E0(__int64 a1)\n{\n  double result; // d0\n\n  *(_QWORD *)a1 = &off_10EF88;\n  sub_E42C0(a1 + 112);\n  sub_E42C0(a1 + 448);\n  *(_BYTE *)(a1 + 784) = 0;\n  *(_BYTE *)(a1 + 786) = 0;\n  *(_QWORD *)(a1 + 72) = 0;\n  *(_DWORD *)(a1 + 788) = 0;\n  *(_QWORD *)(a1 + 80) = 2;\n  *(_DWORD *)(a1 + 92) = 0;\n  *(_QWORD *)&result = 2;\n  return result;\n}", "assembly": "; \n; sub_D54E0 from 0xd54e0 to 0xd5534 (84 bytes)\n; \n; 3 xrefs:\n; > sub_632C4 @ 0x6331c\n; > sub_E47A4 @ 0xe47b4\n; > sub_E4E68 @ 0xe4e78\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\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0xd54e0\nADRL            X8, off_10EF88                                         ; +0x4, 0xd54e4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0xd54ec\nMOV             X19, X0                                                ; +0x10, 0xd54f0\nSTR             X8, [X0],#0x70                                         ; +0x14, 0xd54f4\nADD             X29, SP, #0x10                                         ; +0x18, 0xd54f8\nBL              sub_E42C0                                              ; +0x1c, 0xd54fc\nADD             X0, X19, #0x1C0                                        ; +0x20, 0xd5500\nBL              sub_E42C0                                              ; +0x24, 0xd5504\nADRP            X8, #qword_2EBD8@PAGE                                  ; +0x28, 0xd5508\nLDR             D0, [X8,#qword_2EBD8@PAGEOFF]                          ; +0x2c, 0xd550c\nSTRB            WZR, [X19,#0x310]                                      ; +0x30, 0xd5510\nSTRB            WZR, [X19,#0x312]                                      ; +0x34, 0xd5514\nSTR             XZR, [X19,#0x48]                                       ; +0x38, 0xd5518\nSTR             WZR, [X19,#0x314]                                      ; +0x3c, 0xd551c\nSTR             D0, [X19,#0x50]                                        ; +0x40, 0xd5520\nSTR             WZR, [X19,#0x5C]                                       ; +0x44, 0xd5524\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0xd5528\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x4c, 0xd552c\nRET                                                                    ; +0x50, 0xd5530", "xrefs": ["sub_632C4 @ 0x6331c", "sub_E47A4 @ 0xe47b4", "sub_E4E68 @ 0xe4e78"], "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"}