{"type": "func", "start": 347392, "end": 347464, "name": "sub_54D00", "pseudocode": "// \n// sub_54D00 from 0x54d00 to 0x54d48 (72 bytes)\n// \n// 1 xrefs:\n// > FMOD::SoundGroup::stop @ 0xb6bcc\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:45 +0000\n// \n\nint __fastcall sub_54D00(int a1)\n{\n  _DWORD *i; // r6\n\n  j_FMOD_OS_CriticalSection_Enter(*(int *)((char *)&dword_10C + (_DWORD)off_E8000));\n  for ( i = (_DWORD *)(a1 + 20); ; sub_640F0(*(_DWORD *)(a1 + 12), i[2]) )\n  {\n    i = (_DWORD *)*i;\n    if ( i == (_DWORD *)(a1 + 20) )\n      break;\n  }\n  j_FMOD_OS_CriticalSection_Leave(*(int *)((char *)&dword_10C + (_DWORD)off_E8000));\n  return 0;\n}", "assembly": "; \n; sub_54D00 from 0x54d00 to 0x54d48 (72 bytes)\n; \n; 1 xrefs:\n; > FMOD::SoundGroup::stop @ 0xb6bcc\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:45 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x54d00\nADD             R7, SP, #0xC                                           ; +0x2, 0x54d02\nPUSH.W          {R8}                                                   ; +0x4, 0x54d04\nMOV             R4, R0                                                 ; +0x8, 0x54d08\nLDR             R0, =(off_E6144 - 0x54D10)                             ; +0xa, 0x54d0a\nADD             R0, PC; off_E6144                                      ; +0xc, 0x54d0c\nLDR.W           R8, [R0]; off_E8000                                    ; +0xe, 0x54d0e\nLDR.W           R0, [R8]; dword_F2488                                  ; +0x12, 0x54d12\nLDR.W           R0, [R0,#(dword_F2594 - 0xF2488)]                      ; +0x16, 0x54d16\nBLX             j_FMOD_OS_CriticalSection_Enter                        ; +0x1a, 0x54d1a\nADD.W           R5, R4, #0x14                                          ; +0x1e, 0x54d1e\nMOV             R6, R5                                                 ; +0x22, 0x54d22\nLDR             R6, [R6]                                               ; +0x24, 0x54d24\nCMP             R6, R5                                                 ; +0x26, 0x54d26\nBEQ             loc_54D34                                              ; +0x28, 0x54d28\nLDR             R0, [R4,#0xC]                                          ; +0x2a, 0x54d2a\nLDR             R1, [R6,#8]                                            ; +0x2c, 0x54d2c\nBL              sub_640F0                                              ; +0x2e, 0x54d2e\nB               loc_54D24                                              ; +0x32, 0x54d32\nLDR.W           R0, [R8]; dword_F2488                                  ; +0x34, 0x54d34\nLDR.W           R0, [R0,#(dword_F2594 - 0xF2488)]                      ; +0x38, 0x54d38\nBLX             j_FMOD_OS_CriticalSection_Leave                        ; +0x3c, 0x54d3c\nMOVS            R0, #0                                                 ; +0x40, 0x54d40\nPOP.W           {R8}                                                   ; +0x42, 0x54d42\nPOP             {R4-R7,PC}                                             ; +0x46, 0x54d46", "xrefs": ["FMOD::SoundGroup::stop @ 0xb6bcc"], "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"}