{"type": "func", "start": 387092, "end": 387150, "name": "sub_5E814", "pseudocode": "// \n// sub_5E814 from 0x5e814 to 0x5e84e (58 bytes)\n// \n// 1 xrefs:\n// > sub_8D574 @ 0x8d65e\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_5E814(int result, int a2, int a3)\n{\n  char *v3; // r1\n  char v4; // r4\n  int v5; // r3\n\n  v3 = (char *)&unk_E86FC + 2 * byte_E87DC[8 * a2 - 9 + a3] + 1;\n  do\n  {\n    v4 = *v3;\n    v5 = (unsigned __int8)*(v3 - 1);\n    v3 += 2;\n    *(_DWORD *)(result + 4 * v5) = dword_E86B8[v4 & 0x7F];\n  }\n  while ( (v4 & 0x80) == 0 );\n  return result;\n}", "assembly": "; \n; sub_5E814 from 0x5e814 to 0x5e84e (58 bytes)\n; \n; 1 xrefs:\n; > sub_8D574 @ 0x8d65e\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, 0x5e814\nADD             R7, SP, #8                                             ; +0x2, 0x5e816\nLDR             R3, =(byte_E87DC - 0x5E81E)                            ; +0x4, 0x5e818\nADD             R3, PC; byte_E87DC                                     ; +0x6, 0x5e81a\nADD.W           R1, R3, R1,LSL#3                                       ; +0x8, 0x5e81c\nADD             R1, R2                                                 ; +0xc, 0x5e820\nLDRB.W          R1, [R1,#-9]                                           ; +0xe, 0x5e822\nLDR             R2, =(unk_E86FC - 0x5E82C)                             ; +0x12, 0x5e826\nADD             R2, PC; unk_E86FC                                      ; +0x14, 0x5e828\nADD.W           R1, R2, R1,LSL#1                                       ; +0x16, 0x5e82a\nLDR             R2, =(dword_E86B8 - 0x5E836)                           ; +0x1a, 0x5e82e\nADDS            R1, #1                                                 ; +0x1c, 0x5e830\nADD             R2, PC; dword_E86B8                                    ; +0x1e, 0x5e832\nLDRB            R4, [R1]                                               ; +0x20, 0x5e834\nLDRB.W          R3, [R1,#-1]                                           ; +0x22, 0x5e836\nADDS            R1, #2                                                 ; +0x26, 0x5e83a\nAND.W           R5, R4, #0x7F                                          ; +0x28, 0x5e83c\nLDR.W           R5, [R2,R5,LSL#2]                                      ; +0x2c, 0x5e840\nSTR.W           R5, [R0,R3,LSL#2]                                      ; +0x30, 0x5e844\nLSLS            R3, R4, #0x18                                          ; +0x34, 0x5e848\nBPL             loc_5E834                                              ; +0x36, 0x5e84a\nPOP             {R4,R5,R7,PC}                                          ; +0x38, 0x5e84c", "xrefs": ["sub_8D574 @ 0x8d65e"], "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"}