{"type": "func", "start": 308120, "end": 308314, "name": "sub_4B398", "pseudocode": "// \n// sub_4B398 from 0x4b398 to 0x4b45a (194 bytes)\n// \n// 5 xrefs:\n// > sub_4F598 @ 0x4f628\n// > sub_57BF0 @ 0x57c10\n// > sub_57BF0 @ 0x57c18\n// > sub_58CA8 @ 0x5928a\n// > sub_79454 @ 0x79666\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_4B398(_DWORD *a1)\n{\n  a1[8] = 0;\n  a1[9] = 0;\n  a1[54] = 0;\n  a1[11] = 0;\n  a1[1] = 0;\n  a1[53] = a1 + 52;\n  a1[52] = a1 + 52;\n  *a1 = &off_E4310;\n  a1[70] = a1 + 70;\n  a1[71] = a1 + 70;\n  a1[72] = 0;\n  a1[73] = a1 + 73;\n  a1[74] = a1 + 73;\n  a1[75] = 0;\n  a1[76] = -1;\n  a1[77] = a1 + 77;\n  a1[2] = 0;\n  a1[78] = a1 + 77;\n  a1[79] = 0;\n  a1[80] = -1;\n  a1[81] = 0;\n  a1[82] = 0;\n  a1[83] = 0;\n  a1[84] = 128;\n  a1[85] = -1;\n  a1[97] = 1194083328;\n  a1[92] = 1065353216;\n  a1[93] = 1065353216;\n  a1[35] = 0;\n  a1[28] = 1065353216;\n  a1[17] = 1065353216;\n  a1[18] = 1065353216;\n  a1[6] = 1065353216;\n  a1[7] = 1065353216;\n  memset(a1 + 19, 0, 0x18u);\n  a1[43] = 0;\n  a1[44] = 0;\n  a1[26] = 1065353216;\n  a1[27] = 1315859240;\n  a1[94] = 1065353216;\n  a1[10] = 0;\n  a1[48] = 0;\n  a1[49] = 1153138688;\n  memset(a1 + 56, 0, 0x11u);\n  a1[89] = a1 + 89;\n  a1[90] = a1 + 89;\n  a1[91] = 0;\n  sub_47D48((int)a1, 0);\n  return a1;\n}", "assembly": "; \n; sub_4B398 from 0x4b398 to 0x4b45a (194 bytes)\n; \n; 5 xrefs:\n; > sub_4F598 @ 0x4f628\n; > sub_57BF0 @ 0x57c10\n; > sub_57BF0 @ 0x57c18\n; > sub_58CA8 @ 0x5928a\n; > sub_79454 @ 0x79666\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-R7,LR}                                             ; +0x0, 0x4b398\nADD             R7, SP, #0xC                                           ; +0x2, 0x4b39a\nPUSH.W          {R11}                                                  ; +0x4, 0x4b39c\nMOV             R4, R0                                                 ; +0x8, 0x4b3a0\nMOVS            R5, #0                                                 ; +0xa, 0x4b3a2\nSTRD.W          R5, R5, [R0,#0x20]                                     ; +0xc, 0x4b3a4\nADD.W           R2, R4, #0xD0                                          ; +0x10, 0x4b3a8\nSTR.W           R5, [R0,#0xD8]                                         ; +0x14, 0x4b3ac\nADD.W           R3, R4, #0x118                                         ; +0x18, 0x4b3b0\nSTR             R5, [R4,#0x2C]                                         ; +0x1c, 0x4b3b4\nADD.W           R6, R4, #0x134                                         ; +0x1e, 0x4b3b6\nSTR             R5, [R4,#4]                                            ; +0x22, 0x4b3ba\nMOV.W           R0, #0xFFFFFFFF                                        ; +0x24, 0x4b3bc\nSTR.W           R2, [R4,#0xD4]                                         ; +0x28, 0x4b3c0\nMOVS            R1, #0x80                                              ; +0x2c, 0x4b3c4\nSTR.W           R2, [R4,#0xD0]                                         ; +0x2e, 0x4b3c6\nLDR             R2, =(unk_E4308 - 0x4B3D0)                             ; +0x32, 0x4b3ca\nADD             R2, PC; unk_E4308                                      ; +0x34, 0x4b3cc\nADDS            R2, #(off_E4310 - 0xE4308)                             ; +0x36, 0x4b3ce\nSTR             R2, [R4]                                               ; +0x38, 0x4b3d0\nADD.W           R2, R4, #0x124                                         ; +0x3a, 0x4b3d2\nSTRD.W          R3, R3, [R4,#0x118]                                    ; +0x3e, 0x4b3d6\nSTRD.W          R5, R2, [R4,#0x120]                                    ; +0x42, 0x4b3da\nSTRD.W          R2, R5, [R4,#0x128]                                    ; +0x46, 0x4b3de\nSTRD.W          R0, R6, [R4,#0x130]                                    ; +0x4a, 0x4b3e2\nSTR             R5, [R4,#8]                                            ; +0x4e, 0x4b3e6\nSTRD.W          R6, R5, [R4,#0x138]                                    ; +0x50, 0x4b3e8\nMOV.W           R6, #0x3F800000                                        ; +0x54, 0x4b3ec\nSTRD.W          R0, R5, [R4,#0x140]                                    ; +0x58, 0x4b3f0\nSTRD.W          R5, R5, [R4,#0x148]                                    ; +0x5c, 0x4b3f4\nSTRD.W          R1, R0, [R4,#0x150]                                    ; +0x60, 0x4b3f8\nMOVS            R1, #0x18                                              ; +0x64, 0x4b3fc\nLDR             R0, =0x472C4400                                        ; +0x66, 0x4b3fe\nSTR.W           R0, [R4,#0x184]                                        ; +0x68, 0x4b400\nADD.W           R0, R4, #0x4C ; 'L'                                    ; +0x6c, 0x4b404\nSTRD.W          R6, R6, [R4,#0x170]                                    ; +0x70, 0x4b408\nSTR.W           R5, [R4,#0x8C]                                         ; +0x74, 0x4b40c\nSTR             R6, [R4,#0x70]                                         ; +0x78, 0x4b410\nSTRD.W          R6, R6, [R4,#0x44]                                     ; +0x7a, 0x4b412\nSTRD.W          R6, R6, [R4,#0x18]                                     ; +0x7e, 0x4b416\nBLX             __aeabi_memclr4                                        ; +0x82, 0x4b41a\nLDR             R0, =0x4E6E6B28                                        ; +0x86, 0x4b41e\nMOVS            R1, #0x11                                              ; +0x88, 0x4b420\nSTRD.W          R5, R5, [R4,#0xAC]                                     ; +0x8a, 0x4b422\nSTRD.W          R6, R0, [R4,#0x68]                                     ; +0x8e, 0x4b426\nLDR             R0, =0x44BB8000                                        ; +0x92, 0x4b42a\nSTR.W           R6, [R4,#0x178]                                        ; +0x94, 0x4b42c\nSTR             R5, [R4,#0x28]                                         ; +0x98, 0x4b430\nSTRD.W          R5, R0, [R4,#0xC0]                                     ; +0x9a, 0x4b432\nADD.W           R0, R4, #0xE0                                          ; +0x9e, 0x4b436\nBLX             __aeabi_memclr8                                        ; +0xa2, 0x4b43a\nADD.W           R0, R4, #0x164                                         ; +0xa6, 0x4b43e\nMOVS            R1, #0                                                 ; +0xaa, 0x4b442\nSTRD.W          R0, R0, [R4,#0x164]                                    ; +0xac, 0x4b444\nMOV             R0, R4                                                 ; +0xb0, 0x4b448\nSTR.W           R5, [R4,#0x16C]                                        ; +0xb2, 0x4b44a\nBL              sub_47D48                                              ; +0xb6, 0x4b44e\nMOV             R0, R4                                                 ; +0xba, 0x4b452\nPOP.W           {R11}                                                  ; +0xbc, 0x4b454\nPOP             {R4-R7,PC}                                             ; +0xc0, 0x4b458", "xrefs": ["sub_4F598 @ 0x4f628", "sub_57BF0 @ 0x57c10", "sub_57BF0 @ 0x57c18", "sub_58CA8 @ 0x5928a", "sub_79454 @ 0x79666"], "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"}