{"type": "func", "start": 545276, "end": 545338, "name": "sub_851FC", "pseudocode": "// \n// sub_851FC from 0x851fc to 0x8523a (62 bytes)\n// \n// 1 xrefs:\n// > sub_56BEC @ 0x56efa\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 *sub_851FC()\n{\n  dword_109738 = 14;\n  dword_10973C = 276;\n  dword_109728 = (int)sub_85266;\n  dword_109714 = 2;\n  dword_109718 = (int)sub_85258;\n  dword_10971C = (int)sub_8525C;\n  dword_109720 = (int)sub_85260;\n  dword_109704 = 1;\n  dword_109708 = (int)\"FMOD User Reader Codec\";\n  dword_10970C = 65792;\n  return &dword_109704;\n}", "assembly": "; \n; sub_851FC from 0x851fc to 0x8523a (62 bytes)\n; \n; 1 xrefs:\n; > sub_56BEC @ 0x56efa\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            {R4,R6,R7,LR}                                          ; +0x0, 0x851fc\nADD             R7, SP, #8                                             ; +0x2, 0x851fe\nLDR             R0, =(dword_109704 - 0x8520E)                          ; +0x4, 0x85200\nMOV.W           R1, #0x114                                             ; +0x6, 0x85202\nMOVS            R2, #0xE                                               ; +0xa, 0x85206\nMOVS            R4, #2                                                 ; +0xc, 0x85208\nADD             R0, PC; dword_109704                                   ; +0xe, 0x8520a\nSTRD.W          R2, R1, [R0,#(dword_109738 - 0x109704)]                ; +0x10, 0x8520c\nLDR             R1, =(sub_85266+1 - 0x85216)                           ; +0x14, 0x85210\nADD             R1, PC; sub_85266                                      ; +0x16, 0x85212\nSTR             R1, [R0,#(dword_109728 - 0x109704)]                    ; +0x18, 0x85214\nLDR             R1, =(sub_85260+1 - 0x85220)                           ; +0x1a, 0x85216\nLDR             R2, =(sub_8525C+1 - 0x85222)                           ; +0x1c, 0x85218\nLDR             R3, =(sub_85258+1 - 0x85224)                           ; +0x1e, 0x8521a\nADD             R1, PC; sub_85260                                      ; +0x20, 0x8521c\nADD             R2, PC; sub_8525C                                      ; +0x22, 0x8521e\nADD             R3, PC; sub_85258                                      ; +0x24, 0x85220\nSTRD.W          R4, R3, [R0,#(dword_109714 - 0x109704)]                ; +0x26, 0x85222\nMOVS            R3, #1                                                 ; +0x2a, 0x85226\nSTRD.W          R2, R1, [R0,#(dword_10971C - 0x109704)]                ; +0x2c, 0x85228\nLDR             R2, =(aFmodUserReader - 0x85234); \"FMOD User Reader Codec\" ... ; +0x30, 0x8522c\nLDR             R1, =0x10100                                           ; +0x32, 0x8522e\nADD             R2, PC; \"FMOD User Reader Codec\"                       ; +0x34, 0x85230\nSTRD.W          R3, R2, [R0]                                           ; +0x36, 0x85232\nSTR             R1, [R0,#(dword_10970C - 0x109704)]                    ; +0x3a, 0x85236\nPOP             {R4,R6,R7,PC}                                          ; +0x3c, 0x85238", "xrefs": ["sub_56BEC @ 0x56efa"], "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"}