{"type": "func", "start": 331176, "end": 331262, "name": "sub_50DA8", "pseudocode": "// \n// sub_50DA8 from 0x50da8 to 0x50dfe (86 bytes)\n// \n// 1 xrefs:\n// > sub_56BEC @ 0x56c30\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\n_DWORD *__fastcall sub_50DA8(_DWORD *a1)\n{\n  a1[156] = 0;\n  a1[157] = 1;\n  memset(a1, 0, 0x100u);\n  memset(a1 + 158, 0, 0x94u);\n  a1[75] = a1 + 75;\n  a1[76] = a1 + 75;\n  a1[77] = 0;\n  a1[78] = a1 + 78;\n  a1[79] = a1 + 78;\n  a1[80] = 0;\n  a1[82] = a1 + 82;\n  a1[83] = a1 + 82;\n  a1[84] = 0;\n  a1[85] = -1;\n  a1[118] = a1 + 118;\n  a1[119] = a1 + 118;\n  a1[120] = 0;\n  return a1;\n}", "assembly": "; \n; sub_50DA8 from 0x50da8 to 0x50dfe (86 bytes)\n; \n; 1 xrefs:\n; > sub_56BEC @ 0x56c30\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,R5,R7,LR}                                          ; +0x0, 0x50da8\nADD             R7, SP, #8                                             ; +0x2, 0x50daa\nMOV             R4, R0                                                 ; +0x4, 0x50dac\nMOVS            R0, #1                                                 ; +0x6, 0x50dae\nMOVS            R5, #0                                                 ; +0x8, 0x50db0\nMOV.W           R1, #0x100                                             ; +0xa, 0x50db2\nSTRD.W          R5, R0, [R4,#0x270]                                    ; +0xe, 0x50db6\nMOV             R0, R4                                                 ; +0x12, 0x50dba\nBLX             __aeabi_memclr4                                        ; +0x14, 0x50dbc\nADD.W           R0, R4, #0x278                                         ; +0x18, 0x50dc0\nMOVS            R1, #0x94                                              ; +0x1c, 0x50dc4\nBLX             __aeabi_memclr4                                        ; +0x1e, 0x50dc6\nADD.W           R1, R4, #0x12C                                         ; +0x22, 0x50dca\nADD.W           R0, R4, #0x138                                         ; +0x26, 0x50dce\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x2a, 0x50dd2\nSTRD.W          R1, R1, [R4,#0x12C]                                    ; +0x2e, 0x50dd6\nADD.W           R1, R4, #0x148                                         ; +0x32, 0x50dda\nSTRD.W          R5, R0, [R4,#0x134]                                    ; +0x36, 0x50dde\nSTRD.W          R0, R5, [R4,#0x13C]                                    ; +0x3a, 0x50de2\nADD.W           R0, R4, #0x1D8                                         ; +0x3e, 0x50de6\nSTRD.W          R1, R1, [R4,#0x148]                                    ; +0x42, 0x50dea\nSTRD.W          R5, R2, [R4,#0x150]                                    ; +0x46, 0x50dee\nSTRD.W          R0, R0, [R4,#0x1D8]                                    ; +0x4a, 0x50df2\nMOV             R0, R4                                                 ; +0x4e, 0x50df6\nSTR.W           R5, [R4,#0x1E0]                                        ; +0x50, 0x50df8\nPOP             {R4,R5,R7,PC}                                          ; +0x54, 0x50dfc", "xrefs": ["sub_56BEC @ 0x56c30"], "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"}