{"type": "func", "start": 383276, "end": 383412, "name": "sub_5D92C", "pseudocode": "// \n// sub_5D92C from 0x5d92c to 0x5d9b4 (136 bytes)\n// \n// 2 xrefs:\n// > sub_6F850 @ 0x6f8b8\n// > sub_6F9C0 @ 0x6fa20\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\nvoid __fastcall sub_5D92C(__int64 a1, __int64 a2)\n{\n  *(_QWORD *)a1 = a1;\n  *(_QWORD *)(a1 + 8) = a1;\n  *(_QWORD *)(a1 + 16) = 0;\n  sub_608C8(*(float *)(a2 + 440));\n  __asm { FMOV            V0.2S, #1.0 }\n  *(_QWORD *)(a1 + 152) = _D0;\n  *(_QWORD *)(a1 + 64) = 0;\n  *(_DWORD *)(a1 + 116) = 0;\n  *(_DWORD *)(a1 + 120) = 0;\n  *(_QWORD *)(a1 + 24) = a2;\n  *(_QWORD *)(a1 + 32) = 0;\n  *(_QWORD *)(a1 + 40) = 0;\n  *(_QWORD *)(a1 + 48) = 0;\n  *(_DWORD *)(a1 + 56) = 0;\n  *(_QWORD *)(a1 + 136) = 0;\n  *(_QWORD *)(a1 + 144) = 0;\n  *(_DWORD *)(a1 + 132) = 1065353216;\n  *(_QWORD *)(a1 + 124) = 1065353216;\n  *(_DWORD *)(a1 + 160) = 1065353216;\n  sub_5D4FC((float *)a1);\n  *(_QWORD *)(a1 + 80) = 0;\n  *(_QWORD *)(a1 + 304) = 0;\n  *(_BYTE *)(a1 + 312) = 0;\n  *(_BYTE *)(a1 + 112) = 1;\n}", "assembly": "; \n; sub_5D92C from 0x5d92c to 0x5d9b4 (136 bytes)\n; \n; 2 xrefs:\n; > sub_6F850 @ 0x6f8b8\n; > sub_6F9C0 @ 0x6fa20\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x5d92c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5d930\nSTP             X0, X0, [X0]                                           ; +0x8, 0x5d934\nSTR             XZR, [X0,#0x10]                                        ; +0xc, 0x5d938\nLDR             S0, [X1,#0x1B8]                                        ; +0x10, 0x5d93c\nMOV             X20, X0                                                ; +0x14, 0x5d940\nADD             X0, X0, #0x110                                         ; +0x18, 0x5d944\nADD             X29, SP, #0x10                                         ; +0x1c, 0x5d948\nMOV             X19, X1                                                ; +0x20, 0x5d94c\nBL              sub_608C8                                              ; +0x24, 0x5d950\nADRP            X8, #qword_2EB58@PAGE                                  ; +0x28, 0x5d954\nFMOV            V0.2S, #1.0                                            ; +0x2c, 0x5d958\nSTR             D0, [X20,#0x98]                                        ; +0x30, 0x5d95c\nLDR             D0, [X8,#qword_2EB58@PAGEOFF]                          ; +0x34, 0x5d960\nMOV             W8, #0x3F800000                                        ; +0x38, 0x5d964\nMOV             X0, X20                                                ; +0x3c, 0x5d968\nSTR             XZR, [X20,#0x40]                                       ; +0x40, 0x5d96c\nSTP             WZR, WZR, [X20,#0x74]                                  ; +0x44, 0x5d970\nSTP             X19, XZR, [X20,#0x18]                                  ; +0x48, 0x5d974\nSTP             XZR, XZR, [X20,#0x28]                                  ; +0x4c, 0x5d978\nSTR             WZR, [X20,#0x38]                                       ; +0x50, 0x5d97c\nSTP             XZR, XZR, [X20,#0x88]                                  ; +0x54, 0x5d980\nSTR             W8, [X20,#0x84]                                        ; +0x58, 0x5d984\nSTUR            D0, [X20,#0x7C]                                        ; +0x5c, 0x5d988\nSTR             W8, [X20,#0xA0]                                        ; +0x60, 0x5d98c\nBL              sub_5D4FC                                              ; +0x64, 0x5d990\nMOV             W8, #1                                                 ; +0x68, 0x5d994\nSTR             XZR, [X20,#0x50]                                       ; +0x6c, 0x5d998\nSTR             XZR, [X20,#0x130]                                      ; +0x70, 0x5d99c\nSTRB            WZR, [X20,#0x138]                                      ; +0x74, 0x5d9a0\nSTRB            W8, [X20,#0x70]                                        ; +0x78, 0x5d9a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x7c, 0x5d9a8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x80, 0x5d9ac\nRET                                                                    ; +0x84, 0x5d9b0", "xrefs": ["sub_6F850 @ 0x6f8b8", "sub_6F9C0 @ 0x6fa20"], "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"}