{"type": "func", "start": 522284, "end": 522364, "name": "sub_7F82C", "pseudocode": "// \n// sub_7F82C from 0x7f82c to 0x7f87c (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114dd8\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:14:07 +0000\n// \n\n__int64 sub_7F82C()\n{\n  int v0; // w8\n  __int64 result; // x0\n\n  v0 = FMOD::DSPTransceiver::sRefCount[0];\n  if ( FMOD::DSPTransceiver::sRefCount[0] )\n    goto LABEL_2;\n  result = FMOD_OS_CriticalSection_Create(&FMOD::DSPTransceiver::sCriticalSection, 0);\n  if ( !(_DWORD)result )\n  {\n    v0 = FMOD::DSPTransceiver::sRefCount[0];\nLABEL_2:\n    FMOD::DSPTransceiver::sRefCount[0] = v0 + 1;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_7F82C from 0x7f82c to 0x7f87c (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114dd8\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:14:07 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x7f82c\nADRP            X19, #_ZN4FMOD14DSPTransceiver9sRefCountE@PAGE; FMOD::DSPTransceiver::sRefCount ; +0x4, 0x7f830\nLDR             W8, [X19,#_ZN4FMOD14DSPTransceiver9sRefCountE@PAGEOFF]; FMOD::DSPTransceiver::sRefCount ; +0x8, 0x7f834\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x7f838\nADD             X29, SP, #0x10                                         ; +0x10, 0x7f83c\nCBZ             W8, loc_7F854                                          ; +0x14, 0x7f840\nMOV             W0, WZR                                                ; +0x18, 0x7f844\nADD             W8, W8, #1                                             ; +0x1c, 0x7f848\nSTR             W8, [X19,#_ZN4FMOD14DSPTransceiver9sRefCountE@PAGEOFF]; FMOD::DSPTransceiver::sRefCount ; +0x20, 0x7f84c\nB               loc_7F868                                              ; +0x24, 0x7f850\nADRL            X0, _ZN4FMOD14DSPTransceiver16sCriticalSectionE; FMOD::DSPTransceiver::sCriticalSection ; +0x28, 0x7f854\nMOV             W1, WZR                                                ; +0x30, 0x7f85c\nBL              .FMOD_OS_CriticalSection_Create                        ; +0x34, 0x7f860\nCBZ             W0, loc_7F874                                          ; +0x38, 0x7f864\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x7f868\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x40, 0x7f86c\nRET                                                                    ; +0x44, 0x7f870\nLDR             W8, [X19,#_ZN4FMOD14DSPTransceiver9sRefCountE@PAGEOFF]; FMOD::DSPTransceiver::sRefCount ; +0x48, 0x7f874\nB               loc_7F844                                              ; +0x4c, 0x7f878", "xrefs": ["<???> @ 0x114dd8"], "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"}