{"type": "func", "start": 280576, "end": 280648, "name": "sub_44800", "pseudocode": "// \n// sub_44800 from 0x44800 to 0x44848 (72 bytes)\n// \n// 1 xrefs:\n// > sub_447A8 @ 0x447d8\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_44800(int a1, int a2)\n{\n  void *v3; // r1\n  int v4; // r0\n\n  sub_BE788(a1, a2);\n  v3 = off_E8000;\n  *((_DWORD *)off_E8000 + *(_DWORD *)(a1 + 316) + 69) = 0;\n  v4 = *(_DWORD *)(a1 + 312);\n  if ( v4 )\n  {\n    j_FMOD_OS_CriticalSection_Free(v4, 0);\n    v3 = off_E8000;\n  }\n  sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)v3), a1, \"../../src/fmod_async.cpp\", 145, 1);\n  return 0;\n}", "assembly": "; \n; sub_44800 from 0x44800 to 0x44848 (72 bytes)\n; \n; 1 xrefs:\n; > sub_447A8 @ 0x447d8\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            {R2-R5,R7,LR}                                          ; +0x0, 0x44800\nADD             R7, SP, #0x10                                          ; +0x2, 0x44802\nMOV             R4, R0                                                 ; +0x4, 0x44804\nBL              sub_BE788                                              ; +0x6, 0x44806\nLDR.W           R0, [R4,#0x13C]                                        ; +0xa, 0x4480a\nMOVS            R2, #0                                                 ; +0xe, 0x4480e\nLDR             R1, =(off_E6144 - 0x44816)                             ; +0x10, 0x44810\nADD             R1, PC; off_E6144                                      ; +0x12, 0x44812\nLDR             R5, [R1]; off_E8000                                    ; +0x14, 0x44814\nLDR             R1, [R5]; unk_F2488                                    ; +0x16, 0x44816\nADD.W           R0, R1, R0,LSL#2                                       ; +0x18, 0x44818\nSTR.W           R2, [R0,#0x114]                                        ; +0x1c, 0x4481c\nLDR.W           R0, [R4,#0x138]                                        ; +0x20, 0x44820\nCBZ             R0, loc_4482E                                          ; +0x24, 0x44824\nMOVS            R1, #0                                                 ; +0x26, 0x44826\nBLX             j_FMOD_OS_CriticalSection_Free                         ; +0x28, 0x44828\nLDR             R1, [R5]; unk_F2488                                    ; +0x2c, 0x4482c\nLDR.W           R0, [R1,#(dword_F25D4 - 0xF2488)]                      ; +0x2e, 0x4482e\nMOVS            R1, #1                                                 ; +0x32, 0x44832\nSTR             R1, [SP,#8+var_8]                                      ; +0x34, 0x44834\nMOV             R1, R4                                                 ; +0x36, 0x44836\nLDR             R2, =(aSrcFmodAsyncCp - 0x44840); \"../../src/fmod_async.cpp\" ... ; +0x38, 0x44838\nMOVS            R3, #0x91                                              ; +0x3a, 0x4483a\nADD             R2, PC; \"../../src/fmod_async.cpp\"                     ; +0x3c, 0x4483c\nBL              sub_BD7AC                                              ; +0x3e, 0x4483e\nMOVS            R0, #0                                                 ; +0x42, 0x44842\nADD             SP, SP, #8                                             ; +0x44, 0x44844\nPOP             {R4,R5,R7,PC}                                          ; +0x46, 0x44846", "xrefs": ["sub_447A8 @ 0x447d8"], "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"}