{"type": "func", "start": 436116, "end": 436198, "name": "sub_6A794", "pseudocode": "// \n// sub_6A794 from 0x6a794 to 0x6a7e6 (82 bytes)\n// \n// 0 xrefs:\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_6A794(int a1)\n{\n  int v2; // r0\n  int v3; // r6\n  int i; // r4\n  int v5; // r0\n\n  v2 = *(_DWORD *)(a1 + 4);\n  if ( v2 )\n  {\n    v3 = v2 + 172;\n    for ( i = 0; i != 400; i += 80 )\n    {\n      v5 = *(_DWORD *)(v3 + i);\n      if ( v5 )\n        (*(void (__fastcall **)(int, _DWORD, const char *))(*(_DWORD *)(a1 + 24) + 8))(\n          v5,\n          0,\n          \"../../src/fmod_dsp_multiband_eq.cpp\");\n    }\n    (*(void (__fastcall **)(_DWORD, _DWORD, const char *))(*(_DWORD *)(a1 + 24) + 8))(\n      *(_DWORD *)(a1 + 4),\n      0,\n      \"../../src/fmod_dsp_multiband_eq.cpp\");\n    *(_DWORD *)(a1 + 4) = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_6A794 from 0x6a794 to 0x6a7e6 (82 bytes)\n; \n; 0 xrefs:\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, 0x6a794\nADD             R7, SP, #0xC                                           ; +0x2, 0x6a796\nPUSH.W          {R8}                                                   ; +0x4, 0x6a798\nMOV             R8, R0                                                 ; +0x8, 0x6a79c\nLDR             R0, [R0,#4]                                            ; +0xa, 0x6a79e\nCBZ             R0, loc_6A7DE                                          ; +0xc, 0x6a7a0\nLDR             R5, =(aSrcFmodDspMult - 0x6A7AE); \"../../src/fmod_dsp_multiband_eq.cpp\" ... ; +0xe, 0x6a7a2\nADD.W           R6, R0, #0xAC                                          ; +0x10, 0x6a7a4\nMOVS            R4, #0                                                 ; +0x14, 0x6a7a8\nADD             R5, PC; \"../../src/fmod_dsp_multiband_eq.cpp\"          ; +0x16, 0x6a7aa\nCMP.W           R4, #0x190                                             ; +0x18, 0x6a7ac\nBEQ             loc_6A7C6                                              ; +0x1c, 0x6a7b0\nLDR             R0, [R6,R4]                                            ; +0x1e, 0x6a7b2\nCBZ             R0, loc_6A7C2                                          ; +0x20, 0x6a7b4\nLDR.W           R1, [R8,#0x18]                                         ; +0x22, 0x6a7b6\nMOV             R2, R5                                                 ; +0x26, 0x6a7ba\nLDR             R3, [R1,#8]                                            ; +0x28, 0x6a7bc\nMOVS            R1, #0                                                 ; +0x2a, 0x6a7be\nBLX             R3                                                     ; +0x2c, 0x6a7c0\nADDS            R4, #0x50 ; 'P'                                        ; +0x2e, 0x6a7c2\nB               loc_6A7AC                                              ; +0x30, 0x6a7c4\nLDR.W           R1, [R8,#0x18]                                         ; +0x32, 0x6a7c6\nMOVS            R4, #0                                                 ; +0x36, 0x6a7ca\nLDR.W           R0, [R8,#4]                                            ; +0x38, 0x6a7cc\nLDR             R3, [R1,#8]                                            ; +0x3c, 0x6a7d0\nMOVS            R1, #0                                                 ; +0x3e, 0x6a7d2\nLDR             R2, =(aSrcFmodDspMult - 0x6A7DA); \"../../src/fmod_dsp_multiband_eq.cpp\" ... ; +0x40, 0x6a7d4\nADD             R2, PC; \"../../src/fmod_dsp_multiband_eq.cpp\"          ; +0x42, 0x6a7d6\nBLX             R3                                                     ; +0x44, 0x6a7d8\nSTR.W           R4, [R8,#4]                                            ; +0x46, 0x6a7da\nMOVS            R0, #0                                                 ; +0x4a, 0x6a7de\nPOP.W           {R8}                                                   ; +0x4c, 0x6a7e0\nPOP             {R4-R7,PC}                                             ; +0x50, 0x6a7e4", "xrefs": [], "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"}