{"type": "func", "start": 369372, "end": 369426, "name": "sub_5A2DC", "pseudocode": "// \n// sub_5A2DC from 0x5a2dc to 0x5a312 (54 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::createDSP @ 0xb9574\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:48 +0000\n// \n\nint __fastcall sub_5A2DC(int a1, _DWORD *a2, _DWORD *a3)\n{\n  int v5; // r0\n  int result; // r0\n\n  if ( !a3 )\n    return 31;\n  *a3 = 0;\n  if ( !a2 )\n    return 31;\n  v5 = *(_DWORD *)(a1 + 68272);\n  if ( !v5 )\n    return 67;\n  result = sub_51CA4(v5, nullptr, a2, a3);\n  if ( !result )\n  {\n    *(_DWORD *)(*a3 + 128) = a1;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_5A2DC from 0x5a2dc to 0x5a312 (54 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::createDSP @ 0xb9574\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:48 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x5a2dc\nADD             R7, SP, #8                                             ; +0x2, 0x5a2de\nMOV             R4, R2                                                 ; +0x4, 0x5a2e0\nCBZ             R2, loc_5A300                                          ; +0x6, 0x5a2e2\nMOV             R5, R0                                                 ; +0x8, 0x5a2e4\nMOVS            R0, #0                                                 ; +0xa, 0x5a2e6\nMOV             R2, R1                                                 ; +0xc, 0x5a2e8\nSTR             R0, [R4]                                               ; +0xe, 0x5a2ea\nCBZ             R1, loc_5A300                                          ; +0x10, 0x5a2ec\nLDR             R0, =0x10AB0                                           ; +0x12, 0x5a2ee\nLDR             R0, [R5,R0]                                            ; +0x14, 0x5a2f0\nCBZ             R0, loc_5A304                                          ; +0x16, 0x5a2f2\nMOVS            R1, #0                                                 ; +0x18, 0x5a2f4\nMOV             R3, R4                                                 ; +0x1a, 0x5a2f6\nBL              sub_51CA4                                              ; +0x1c, 0x5a2f8\nCBZ             R0, loc_5A308                                          ; +0x20, 0x5a2fc\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0x5a2fe\nMOVS            R0, #0x1F                                              ; +0x24, 0x5a300\nPOP             {R4,R5,R7,PC}                                          ; +0x26, 0x5a302\nMOVS            R0, #0x43 ; 'C'                                        ; +0x28, 0x5a304\nPOP             {R4,R5,R7,PC}                                          ; +0x2a, 0x5a306\nLDR             R0, [R4]                                               ; +0x2c, 0x5a308\nSTR.W           R5, [R0,#0x80]                                         ; +0x2e, 0x5a30a\nMOVS            R0, #0                                                 ; +0x32, 0x5a30e\nPOP             {R4,R5,R7,PC}                                          ; +0x34, 0x5a310", "xrefs": ["FMOD::System::createDSP @ 0xb9574"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}