{"type": "func", "start": 436004, "end": 436106, "name": "sub_6A724", "pseudocode": "// \n// sub_6A724 from 0x6a724 to 0x6a78a (102 bytes)\n// \n// 0 xrefs:\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:57 +0000\n// \n\nint __fastcall sub_6A724(int a1)\n{\n  void *v2; // r0\n  int i; // r5\n  _DWORD *v4; // r0\n  int result; // r0\n\n  v2 = (void *)(**(int (__fastcall ***)(int, _DWORD, const char *))(a1 + 24))(\n                 500,\n                 0,\n                 \"../../src/fmod_dsp_multiband_eq.cpp\");\n  *(_DWORD *)(a1 + 4) = v2;\n  if ( !v2 )\n    return 38;\n  memset(v2, 0, 0x1F4u);\n  sub_69C44();\n  for ( i = 0; i < dword_E8C58; ++i )\n  {\n    v4 = *(_DWORD **)(dword_E8C5C + 4 * i);\n    if ( *v4 == 1 )\n    {\n      result = ((int (__fastcall *)(int, int, _DWORD))dword_E8C64)(a1, i, v4[12]);\n    }\n    else\n    {\n      if ( *v4 )\n        continue;\n      result = ((int (__fastcall *)(int, int, _DWORD))off_E8C60[0])(a1, i, v4[12]);\n    }\n    if ( result )\n      return result;\n  }\n  return 0;\n}", "assembly": "; \n; sub_6A724 from 0x6a724 to 0x6a78a (102 bytes)\n; \n; 0 xrefs:\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:57 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x6a724\nADD             R7, SP, #0xC                                           ; +0x2, 0x6a726\nPUSH.W          {R11}                                                  ; +0x4, 0x6a728\nMOV             R4, R0                                                 ; +0x8, 0x6a72c\nLDR             R0, [R0,#0x18]                                         ; +0xa, 0x6a72e\nMOVS            R1, #0                                                 ; +0xc, 0x6a730\nLDR             R3, [R0]                                               ; +0xe, 0x6a732\nMOV.W           R0, #0x1F4                                             ; +0x10, 0x6a734\nLDR             R2, =(aSrcFmodDspMult - 0x6A73E); \"../../src/fmod_dsp_multiband_eq.cpp\" ... ; +0x14, 0x6a738\nADD             R2, PC; \"../../src/fmod_dsp_multiband_eq.cpp\"          ; +0x16, 0x6a73a\nBLX             R3                                                     ; +0x18, 0x6a73c\nSTR             R0, [R4,#4]                                            ; +0x1a, 0x6a73e\nCBZ             R0, loc_6A77E                                          ; +0x1c, 0x6a740\nMOV.W           R1, #0x1F4                                             ; +0x1e, 0x6a742\nBLX             __aeabi_memclr                                         ; +0x22, 0x6a746\nBL              sub_69C44                                              ; +0x26, 0x6a74a\nLDR             R6, =(unk_E8C10 - 0x6A756)                             ; +0x2a, 0x6a74e\nMOVS            R5, #0                                                 ; +0x2c, 0x6a750\nADD             R6, PC; unk_E8C10                                      ; +0x2e, 0x6a752\nLDR             R0, [R6,#(dword_E8C58 - 0xE8C10)]                      ; +0x30, 0x6a754\nCMP             R5, R0                                                 ; +0x32, 0x6a756\nBGE             loc_6A782                                              ; +0x34, 0x6a758\nLDR             R0, [R6,#(dword_E8C5C - 0xE8C10)]                      ; +0x36, 0x6a75a\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x38, 0x6a75c\nLDR             R1, [R0]                                               ; +0x3c, 0x6a760\nCMP             R1, #1                                                 ; +0x3e, 0x6a762\nBEQ             loc_6A76E                                              ; +0x40, 0x6a764\nCBNZ            R1, loc_6A77A                                          ; +0x42, 0x6a766\nLDR             R2, [R0,#0x30]                                         ; +0x44, 0x6a768\nLDR             R3, [R6,#(off_E8C60 - 0xE8C10)]                        ; +0x46, 0x6a76a\nB               loc_6A772                                              ; +0x48, 0x6a76c\nLDR             R2, [R0,#0x30]                                         ; +0x4a, 0x6a76e\nLDR             R3, [R6,#(dword_E8C64 - 0xE8C10)]                      ; +0x4c, 0x6a770\nMOV             R0, R4                                                 ; +0x4e, 0x6a772\nMOV             R1, R5                                                 ; +0x50, 0x6a774\nBLX             R3                                                     ; +0x52, 0x6a776\nCBNZ            R0, loc_6A784                                          ; +0x54, 0x6a778\nADDS            R5, #1                                                 ; +0x56, 0x6a77a\nB               loc_6A754                                              ; +0x58, 0x6a77c\nMOVS            R0, #0x26 ; '&'                                        ; +0x5a, 0x6a77e\nB               loc_6A784                                              ; +0x5c, 0x6a780\nMOVS            R0, #0                                                 ; +0x5e, 0x6a782\nPOP.W           {R11}                                                  ; +0x60, 0x6a784\nPOP             {R4-R7,PC}                                             ; +0x64, 0x6a788", "xrefs": [], "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"}