{"type": "func", "start": 505128, "end": 505216, "name": "sub_7B528", "pseudocode": "// \n// sub_7B528 from 0x7b528 to 0x7b580 (88 bytes)\n// \n// 3 xrefs:\n// > sub_B9D08 @ 0xb9d20\n// > sub_C2A8C @ 0xc2b00\n// > FMOD::System::getSpeakerModeChannels @ 0xdd2d8\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_7B528(__int64 a1, __int64 a2, _DWORD *a3)\n{\n  __int64 result; // x0\n  int v5; // w8\n  int *v6; // [xsp+8h] [xbp-8h] BYREF\n\n  if ( !a3 )\n    return 31;\n  if ( (_DWORD)a2 )\n  {\n    result = sub_7B964(a1, a2, &v6);\n    if ( (_DWORD)result )\n      return result;\n    v5 = *v6;\n  }\n  else\n  {\n    v5 = *(_DWORD *)(a1 + 1748);\n    result = 0;\n  }\n  *a3 = v5;\n  return result;\n}", "assembly": "; \n; sub_7B528 from 0x7b528 to 0x7b580 (88 bytes)\n; \n; 3 xrefs:\n; > sub_B9D08 @ 0xb9d20\n; > sub_C2A8C @ 0xc2b00\n; > FMOD::System::getSpeakerModeChannels @ 0xdd2d8\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, 0x7b528\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x7b52c\nADD             X29, SP, #0x10                                         ; +0x8, 0x7b530\nCBZ             X2, loc_7B560                                          ; +0xc, 0x7b534\nMOV             X19, X2                                                ; +0x10, 0x7b538\nMOV             X8, X0                                                 ; +0x14, 0x7b53c\nCBZ             W1, loc_7B568                                          ; +0x18, 0x7b540\nADD             X2, SP, #0x10+var_8                                    ; +0x1c, 0x7b544\nMOV             X0, X8                                                 ; +0x20, 0x7b548\nBL              sub_7B964                                              ; +0x24, 0x7b54c\nCBNZ            W0, loc_7B574                                          ; +0x28, 0x7b550\nLDR             X8, [SP,#0x10+var_8]                                   ; +0x2c, 0x7b554\nLDR             W8, [X8]                                               ; +0x30, 0x7b558\nB               loc_7B570                                              ; +0x34, 0x7b55c\nMOV             W0, #0x1F                                              ; +0x38, 0x7b560\nB               loc_7B574                                              ; +0x3c, 0x7b564\nLDR             W8, [X8,#0x6D4]                                        ; +0x40, 0x7b568\nMOV             W0, WZR                                                ; +0x44, 0x7b56c\nSTR             W8, [X19]                                              ; +0x48, 0x7b570\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x7b574\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x50, 0x7b578\nRET                                                                    ; +0x54, 0x7b57c", "xrefs": ["sub_B9D08 @ 0xb9d20", "sub_C2A8C @ 0xc2b00", "FMOD::System::getSpeakerModeChannels @ 0xdd2d8"], "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"}