{"type": "func", "start": 370244, "end": 370266, "name": "sub_5A644", "pseudocode": "// \n// sub_5A644 from 0x5a644 to 0x5a65a (22 bytes)\n// \n// 2 xrefs:\n// > sub_52A58 @ 0x52aaa\n// > FMOD::System::getMasterChannelGroup @ 0xb9c02\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\nint __fastcall sub_5A644(int a1, _DWORD *a2)\n{\n  int v2; // r2\n  int result; // r0\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_DWORD *)(a1 + 68868);\n  result = 0;\n  *a2 = v2;\n  if ( !v2 )\n    return 67;\n  return result;\n}", "assembly": "; \n; sub_5A644 from 0x5a644 to 0x5a65a (22 bytes)\n; \n; 2 xrefs:\n; > sub_52A58 @ 0x52aaa\n; > FMOD::System::getMasterChannelGroup @ 0xb9c02\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\nCBZ             R1, loc_5A656                                          ; +0x0, 0x5a644\nLDR             R2, =0x10D04                                           ; +0x2, 0x5a646\nLDR             R2, [R0,R2]                                            ; +0x4, 0x5a648\nMOVS            R0, #0                                                 ; +0x6, 0x5a64a\nSTR             R2, [R1]                                               ; +0x8, 0x5a64c\nCMP             R2, #0                                                 ; +0xa, 0x5a64e\nIT EQ                                                                  ; +0xc, 0x5a650\nMOVEQ           R0, #0x43 ; 'C'                                        ; +0xe, 0x5a652\nBX              LR                                                     ; +0x10, 0x5a654\nMOVS            R0, #0x1F                                              ; +0x12, 0x5a656\nBX              LR                                                     ; +0x14, 0x5a658", "xrefs": ["sub_52A58 @ 0x52aaa", "FMOD::System::getMasterChannelGroup @ 0xb9c02"], "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"}