{"type": "func", "start": 338280, "end": 338364, "name": "sub_52968", "pseudocode": "// \n// sub_52968 from 0x52968 to 0x529bc (84 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:44 +0000\n// \n\nint __fastcall sub_52968(int a1)\n{\n  int v2; // r1\n\n  sub_529C8(a1 + 52);\n  sub_529EC(a1 + 84);\n  v2 = *(_DWORD *)(a1 + 24);\n  if ( v2 )\n  {\n    sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v2, \"../../src/fmod_profile_dsp.cpp\", 63, 1);\n    *(_DWORD *)(a1 + 24) = 0;\n  }\n  sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a1, \"../../src/fmod_profile_dsp.cpp\", 64, 1);\n  return 0;\n}", "assembly": "; \n; sub_52968 from 0x52968 to 0x529bc (84 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:44 +0000\n; \nPUSH            {R2-R5,R7,LR}                                          ; +0x0, 0x52968\nADD             R7, SP, #0x10                                          ; +0x2, 0x5296a\nMOV             R4, R0                                                 ; +0x4, 0x5296c\nADDS            R0, #0x34 ; '4'                                        ; +0x6, 0x5296e\nBL              sub_529C8                                              ; +0x8, 0x52970\nADD.W           R0, R4, #0x54 ; 'T'                                    ; +0xc, 0x52974\nBL              sub_529EC                                              ; +0x10, 0x52978\nLDR             R1, [R4,#0x18]                                         ; +0x14, 0x5297c\nLDR             R5, =(off_E6144 - 0x52984)                             ; +0x16, 0x5297e\nADD             R5, PC; off_E6144                                      ; +0x18, 0x52980\nCBZ             R1, loc_5299E                                          ; +0x1a, 0x52982\nLDR             R0, [R5]; off_E8000                                    ; +0x1c, 0x52984\nMOVS            R2, #1                                                 ; +0x1e, 0x52986\nMOVS            R3, #0x3F ; '?'                                        ; +0x20, 0x52988\nLDR             R0, [R0]; dword_F2488                                  ; +0x22, 0x5298a\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x24, 0x5298c\nSTR             R2, [SP,#8+var_8]                                      ; +0x28, 0x52990\nLDR             R2, =(aSrcFmodProfile_0 - 0x52998); \"../../src/fmod_profile_dsp.cpp\" ... ; +0x2a, 0x52992\nADD             R2, PC; \"../../src/fmod_profile_dsp.cpp\"               ; +0x2c, 0x52994\nBL              sub_BD7AC                                              ; +0x2e, 0x52996\nMOVS            R0, #0                                                 ; +0x32, 0x5299a\nSTR             R0, [R4,#0x18]                                         ; +0x34, 0x5299c\nLDR             R0, [R5]; off_E8000                                    ; +0x36, 0x5299e\nMOVS            R1, #1                                                 ; +0x38, 0x529a0\nMOVS            R3, #0x40 ; '@'                                        ; +0x3a, 0x529a2\nLDR             R0, [R0]; dword_F2488                                  ; +0x3c, 0x529a4\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x3e, 0x529a6\nSTR             R1, [SP,#8+var_8]                                      ; +0x42, 0x529aa\nMOV             R1, R4                                                 ; +0x44, 0x529ac\nLDR             R2, =(aSrcFmodProfile_0 - 0x529B4); \"../../src/fmod_profile_dsp.cpp\" ... ; +0x46, 0x529ae\nADD             R2, PC; \"../../src/fmod_profile_dsp.cpp\"               ; +0x48, 0x529b0\nBL              sub_BD7AC                                              ; +0x4a, 0x529b2\nMOVS            R0, #0                                                 ; +0x4e, 0x529b6\nADD             SP, SP, #8                                             ; +0x50, 0x529b8\nPOP             {R4,R5,R7,PC}                                          ; +0x52, 0x529ba", "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"}