{"type": "func", "start": 373660, "end": 373702, "name": "sub_5B39C", "pseudocode": "// \n// sub_5B39C from 0x5b39c to 0x5b3c6 (42 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getRecordNumDrivers @ 0xba068\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_5B39C(int a1, _DWORD *a2, _DWORD *a3)\n{\n  int result; // r0\n\n  result = sub_5B0B8(a1);\n  if ( !result )\n  {\n    if ( a2 )\n      *a2 = *(_DWORD *)(a1 + 1144);\n    if ( a3 )\n      *a3 = *(_DWORD *)(a1 + 1148);\n  }\n  return result;\n}", "assembly": "; \n; sub_5B39C from 0x5b39c to 0x5b3c6 (42 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getRecordNumDrivers @ 0xba068\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x5b39c\nADD             R7, SP, #0xC                                           ; +0x2, 0x5b39e\nPUSH.W          {R11}                                                  ; +0x4, 0x5b3a0\nMOV             R4, R2                                                 ; +0x8, 0x5b3a4\nMOV             R6, R1                                                 ; +0xa, 0x5b3a6\nMOV             R5, R0                                                 ; +0xc, 0x5b3a8\nBL              sub_5B0B8                                              ; +0xe, 0x5b3aa\nCBNZ            R0, loc_5B3C0                                          ; +0x12, 0x5b3ae\nCBZ             R6, loc_5B3B8                                          ; +0x14, 0x5b3b0\nLDR.W           R1, [R5,#0x478]                                        ; +0x16, 0x5b3b2\nSTR             R1, [R6]                                               ; +0x1a, 0x5b3b6\nCBZ             R4, loc_5B3C0                                          ; +0x1c, 0x5b3b8\nLDR.W           R1, [R5,#0x47C]                                        ; +0x1e, 0x5b3ba\nSTR             R1, [R4]                                               ; +0x22, 0x5b3be\nPOP.W           {R11}                                                  ; +0x24, 0x5b3c0\nPOP             {R4-R7,PC}                                             ; +0x28, 0x5b3c4", "xrefs": ["FMOD::System::getRecordNumDrivers @ 0xba068"], "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"}