{"type": "func", "start": 489680, "end": 489786, "name": "sub_778D0", "pseudocode": "// \n// sub_778D0 from 0x778d0 to 0x7793a (106 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x778ce\n// > sub_56BEC @ 0x56e26\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:41:12 +0000\n// \n\nint *sub_778D0()\n{\n  dword_F778C = (int)sub_779E6;\n  dword_F7790 = (int)sub_779F8;\n  dword_F777C = (int)sub_7798C;\n  dword_F7780 = (int)sub_77990;\n  dword_F7784 = (int)sub_779CA;\n  dword_F774C = (int)sub_77980;\n  dword_F7728 = 1;\n  dword_F772C = (int)\"FMOD MIDI Codec\";\n  unk_F7730 = 65792;\n  unk_F7734 = 1;\n  unk_F7738 = 2;\n  dword_F773C = (int)sub_7796C;\n  dword_F7740 = (int)sub_77970;\n  dword_F7744 = (int)sub_7797C;\n  dword_F775C = 7;\n  dword_F7760 = 12168;\n  return &dword_F7728;\n}", "assembly": "; \n; sub_778D0 from 0x778d0 to 0x7793a (106 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x778ce\n; > sub_56BEC @ 0x56e26\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:41:12 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x778d0\nADD             R7, SP, #0xC                                           ; +0x2, 0x778d2\nPUSH.W          {R11}                                                  ; +0x4, 0x778d4\nLDR             R0, =(dword_F7728 - 0x778E8)                           ; +0x8, 0x778d8\nMOVS            R4, #1                                                 ; +0xa, 0x778da\nLDR             R2, =(aFmodMidiCodec - 0x778EC); \"FMOD MIDI Codec\" ... ; +0xc, 0x778dc\nMOV.W           R12, #2                                                ; +0xe, 0x778de\nLDR             R5, =(sub_779F8+1 - 0x778EE)                           ; +0x12, 0x778e2\nADD             R0, PC; dword_F7728                                    ; +0x14, 0x778e4\nLDR             R6, =(sub_779E6+1 - 0x778F2)                           ; +0x16, 0x778e6\nADD             R2, PC; \"FMOD MIDI Codec\"                              ; +0x18, 0x778e8\nADD             R5, PC; sub_779F8                                      ; +0x1a, 0x778ea\nLDR             R1, =0x10100                                           ; +0x1c, 0x778ec\nADD             R6, PC; sub_779E6                                      ; +0x1e, 0x778ee\nSTRD.W          R6, R5, [R0,#(dword_F778C - 0xF7728)]                  ; +0x20, 0x778f0\nLDR             R5, =(sub_779CA+1 - 0x778FE)                           ; +0x24, 0x778f4\nLDR             R6, =(sub_77990+1 - 0x77900)                           ; +0x26, 0x778f6\nLDR             R3, =(sub_7798C+1 - 0x77902)                           ; +0x28, 0x778f8\nADD             R5, PC; sub_779CA                                      ; +0x2a, 0x778fa\nADD             R6, PC; sub_77990                                      ; +0x2c, 0x778fc\nADD             R3, PC; sub_7798C                                      ; +0x2e, 0x778fe\nSTRD.W          R3, R6, [R0,#(dword_F777C - 0xF7728)]                  ; +0x30, 0x77900\nSTR             R5, [R0,#(dword_F7784 - 0xF7728)]                      ; +0x34, 0x77904\nLDR             R3, =(sub_77980+1 - 0x7790C)                           ; +0x36, 0x77906\nADD             R3, PC; sub_77980                                      ; +0x38, 0x77908\nSTR             R3, [R0,#(dword_F774C - 0xF7728)]                      ; +0x3a, 0x7790a\nLDR             R3, =(sub_7797C+1 - 0x77916)                           ; +0x3c, 0x7790c\nLDR             R5, =(sub_77970+1 - 0x77920)                           ; +0x3e, 0x7790e\nLDR             R6, =(sub_7796C+1 - 0x7792C)                           ; +0x40, 0x77910\nADD             R3, PC; sub_7797C                                      ; +0x42, 0x77912\nSTRD.W          R4, R2, [R0]                                           ; +0x44, 0x77914\nADD.W           R2, R0, #(unk_F7730 - 0xF7728)                         ; +0x48, 0x77918\nADD             R5, PC; sub_77970                                      ; +0x4c, 0x7791c\nSTM.W           R2, {R1,R4,R12}                                        ; +0x4e, 0x7791e\nMOVW            R1, #0x2F88                                            ; +0x52, 0x77922\nMOVS            R2, #7                                                 ; +0x56, 0x77926\nADD             R6, PC; sub_7796C                                      ; +0x58, 0x77928\nSTRD.W          R6, R5, [R0,#(dword_F773C - 0xF7728)]                  ; +0x5a, 0x7792a\nSTR             R3, [R0,#(dword_F7744 - 0xF7728)]                      ; +0x5e, 0x7792e\nSTRD.W          R2, R1, [R0,#(dword_F775C - 0xF7728)]                  ; +0x60, 0x77930\nPOP.W           {R11}                                                  ; +0x64, 0x77934\nPOP             {R4-R7,PC}                                             ; +0x68, 0x77938", "xrefs": ["<???> @ 0x778ce", "sub_56BEC @ 0x56e26"], "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"}