{"type": "func", "start": 351860, "end": 351918, "name": "sub_55E74", "pseudocode": "// \n// sub_55E74 from 0x55e74 to 0x55eae (58 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_55E74(int a1)\n{\n  int v2; // r0\n\n  v2 = *(_DWORD *)(a1 + 36);\n  if ( !v2 )\n  {\n    v2 = sub_BD580(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 256, \"../../src/fmod_soundi.cpp\", 1440, 0);\n    *(_DWORD *)(a1 + 36) = v2;\n    if ( !v2 )\n      return 38;\n  }\n  *(_DWORD *)(a1 + 32) = v2;\n  return 0;\n}", "assembly": "; \n; sub_55E74 from 0x55e74 to 0x55eae (58 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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x55e74\nADD             R7, SP, #0x10                                          ; +0x2, 0x55e76\nMOV             R4, R0                                                 ; +0x4, 0x55e78\nLDR             R0, [R0,#0x24]                                         ; +0x6, 0x55e7a\nCBNZ            R0, loc_55EA2                                          ; +0x8, 0x55e7c\nLDR             R0, =(off_E6144 - 0x55E8A)                             ; +0xa, 0x55e7e\nMOVS            R1, #0                                                 ; +0xc, 0x55e80\nMOV.W           R3, #0x5A0                                             ; +0xe, 0x55e82\nADD             R0, PC; off_E6144                                      ; +0x12, 0x55e86\nLDR             R0, [R0]; off_E8000                                    ; +0x14, 0x55e88\nLDR             R0, [R0]; dword_F2488                                  ; +0x16, 0x55e8a\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x18, 0x55e8c\nSTR             R1, [SP,#8+var_8]                                      ; +0x1c, 0x55e90\nMOV.W           R1, #0x100                                             ; +0x1e, 0x55e92\nLDR             R2, =(aSrcFmodSoundiC - 0x55E9C); \"../../src/fmod_soundi.cpp\" ... ; +0x22, 0x55e96\nADD             R2, PC; \"../../src/fmod_soundi.cpp\"                    ; +0x24, 0x55e98\nBL              sub_BD580                                              ; +0x26, 0x55e9a\nSTR             R0, [R4,#0x24]                                         ; +0x2a, 0x55e9e\nCBZ             R0, loc_55EAA                                          ; +0x2c, 0x55ea0\nSTR             R0, [R4,#0x20]                                         ; +0x2e, 0x55ea2\nMOVS            R0, #0                                                 ; +0x30, 0x55ea4\nADD             SP, SP, #8                                             ; +0x32, 0x55ea6\nPOP             {R4,R6,R7,PC}                                          ; +0x34, 0x55ea8\nMOVS            R0, #0x26 ; '&'                                        ; +0x36, 0x55eaa\nB               loc_55EA6                                              ; +0x38, 0x55eac", "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"}