{"type": "func", "start": 389956, "end": 390080, "name": "sub_5F344", "pseudocode": "// \n// sub_5F344 from 0x5f344 to 0x5f3c0 (124 bytes)\n// \n// 1 xrefs:\n// > sub_5F514 @ 0x5f554\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:53 +0000\n// \n\n_QWORD *__fastcall sub_5F344(_QWORD *result)\n{\n  _QWORD *v1; // x19\n  unsigned int v2; // w20\n\n  v1 = result;\n  v2 = 0;\n  result[8] = result + 7;\n  result[9] = 0;\n  result[7] = result + 7;\n  result[54] = &unk_11F780;\n  dword_11F7F8 = 256;\n  while ( v2 != 13 )\n    result = (_QWORD *)FMOD_Thread_SetAttributes(v2++, 0x4000000000000000LL, 4294934527LL, 0);\n  *(_DWORD *)(v1[54] + 40LL) |= 4u;\n  *((_DWORD *)v1 + 13) = -1;\n  return result;\n}", "assembly": "; \n; sub_5F344 from 0x5f344 to 0x5f3c0 (124 bytes)\n; \n; 1 xrefs:\n; > sub_5F514 @ 0x5f554\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:53 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x5f344\nADRP            X9, #unk_11F780@PAGE                                   ; +0x4, 0x5f348\nMOV             X19, X0                                                ; +0x8, 0x5f34c\nMOV             W20, WZR                                               ; +0xc, 0x5f350\nADD             X8, X0, #0x38 ; '8'                                    ; +0x10, 0x5f354\nADD             X9, X9, #unk_11F780@PAGEOFF                            ; +0x14, 0x5f358\nMOV             W10, #0x100                                            ; +0x18, 0x5f35c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x1c, 0x5f360\nADD             X29, SP, #0x10                                         ; +0x20, 0x5f364\nSTP             X8, XZR, [X0,#0x40]                                    ; +0x24, 0x5f368\nSTR             X8, [X0,#0x38]                                         ; +0x28, 0x5f36c\nSTR             X9, [X0,#0x1B0]                                        ; +0x2c, 0x5f370\nSTR             W10, [X9,#(dword_11F7F8 - 0x11F780)]                   ; +0x30, 0x5f374\nCMP             W20, #0xD                                              ; +0x34, 0x5f378\nB.EQ            loc_5F39C                                              ; +0x38, 0x5f37c\nMOV             X1, #0x4000000000000000                                ; +0x3c, 0x5f380\nMOV             W2, #0xFFFF7FFF                                        ; +0x40, 0x5f384\nMOV             W0, W20                                                ; +0x44, 0x5f388\nMOV             W3, WZR                                                ; +0x48, 0x5f38c\nBL              .FMOD_Thread_SetAttributes                             ; +0x4c, 0x5f390\nADD             W20, W20, #1                                           ; +0x50, 0x5f394\nB               loc_5F378                                              ; +0x54, 0x5f398\nLDR             X8, [X19,#0x1B0]                                       ; +0x58, 0x5f39c\nMOV             W10, #0xFFFFFFFF                                       ; +0x5c, 0x5f3a0\nLDR             W9, [X8,#0x28]                                         ; +0x60, 0x5f3a4\nORR             W9, W9, #4                                             ; +0x64, 0x5f3a8\nSTR             W9, [X8,#0x28]                                         ; +0x68, 0x5f3ac\nSTR             W10, [X19,#0x34]                                       ; +0x6c, 0x5f3b0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x5f3b4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x5f3b8\nRET                                                                    ; +0x78, 0x5f3bc", "xrefs": ["sub_5F514 @ 0x5f554"], "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"}