{"type": "func", "start": 347876, "end": 348040, "name": "sub_54EE4", "pseudocode": "// \n// sub_54EE4 from 0x54ee4 to 0x54f88 (164 bytes)\n// \n// 3 xrefs:\n// > sub_543E0 @ 0x543e4\n// > sub_54470 @ 0x54474\n// > sub_57BF0 @ 0x57c08\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_54EE4(int result)\n{\n  *(_DWORD *)(result + 12) = 0;\n  *(_DWORD *)(result + 204) = 0;\n  *(_DWORD *)(result + 28) = 0;\n  *(_DWORD *)(result + 16) = -1396696354;\n  *(_DWORD *)(result + 108) = 1065353216;\n  *(_DWORD *)(result + 100) = 1135869952;\n  *(_DWORD *)(result + 104) = 1135869952;\n  *(_QWORD *)(result + 92) = 0x461C40003F800000LL;\n  *(_DWORD *)(result + 76) = 1;\n  *(_DWORD *)(result + 32) = 0;\n  *(_DWORD *)(result + 24) = 0;\n  *(_DWORD *)(result + 84) = 128;\n  *(_DWORD *)(result + 80) = 1194083328;\n  *(_DWORD *)(result + 4) = result + 4;\n  *(_DWORD *)(result + 8) = result + 4;\n  *(_DWORD *)(result + 200) = result + 196;\n  *(_DWORD *)result = &off_E4740;\n  *(_DWORD *)(result + 196) = result + 196;\n  *(_DWORD *)(result + 160) = 0;\n  *(_DWORD *)(result + 148) = 0;\n  *(_DWORD *)(result + 52) = 0;\n  *(_DWORD *)(result + 56) = 0;\n  *(_DWORD *)(result + 60) = -1;\n  *(_DWORD *)(result + 72) = 0;\n  *(_DWORD *)(result + 120) = 0;\n  *(_DWORD *)(result + 128) = 0;\n  *(_DWORD *)(result + 132) = 0;\n  *(_DWORD *)(result + 136) = 0;\n  *(_DWORD *)(result + 184) = 0;\n  *(_DWORD *)(result + 164) = 0;\n  __dmb(0xBu);\n  *(_DWORD *)(result + 188) = 0;\n  __dmb(0xBu);\n  *(_DWORD *)(result + 220) = 0;\n  *(_DWORD *)(result + 224) = 0;\n  *(_DWORD *)(result + 228) = 0;\n  *(_DWORD *)(result + 172) = 0;\n  *(_DWORD *)(result + 176) = 0;\n  *(_DWORD *)(result + 112) = 0;\n  *(_DWORD *)(result + 116) = 0;\n  __dmb(0xBu);\n  *(_DWORD *)(result + 64) = 0;\n  __dmb(0xBu);\n  *(_BYTE *)(result + 68) = 0;\n  *(_DWORD *)(result + 196) = result + 196;\n  *(_DWORD *)(result + 200) = result + 196;\n  *(_DWORD *)(result + 204) = 0;\n  return result;\n}", "assembly": "; \n; sub_54EE4 from 0x54ee4 to 0x54f88 (164 bytes)\n; \n; 3 xrefs:\n; > sub_543E0 @ 0x543e4\n; > sub_54470 @ 0x54474\n; > sub_57BF0 @ 0x57c08\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\nLDR             R3, =0x43B40000                                        ; +0x0, 0x54ee4\nMOVS            R1, #0                                                 ; +0x2, 0x54ee6\nLDR             R2, =0xACC01ADE                                        ; +0x4, 0x54ee8\nSTR             R1, [R0,#0xC]                                          ; +0x6, 0x54eea\nSTR.W           R1, [R0,#0xCC]                                         ; +0x8, 0x54eec\nSTR             R1, [R0,#0x1C]                                         ; +0xc, 0x54ef0\nSTR             R2, [R0,#0x10]                                         ; +0xe, 0x54ef2\nMOV.W           R2, #0x3F800000                                        ; +0x10, 0x54ef4\nSTR             R2, [R0,#0x6C]                                         ; +0x14, 0x54ef8\nSTRD.W          R3, R3, [R0,#0x64]                                     ; +0x16, 0x54efa\nLDR             R3, =0x461C4000                                        ; +0x1a, 0x54efe\nSTRD.W          R2, R3, [R0,#0x5C]                                     ; +0x1c, 0x54f00\nMOVS            R2, #1                                                 ; +0x20, 0x54f04\nSTR             R2, [R0,#0x4C]                                         ; +0x22, 0x54f06\nMOVS            R2, #0x80                                              ; +0x24, 0x54f08\nSTR             R1, [R0,#0x20]                                         ; +0x26, 0x54f0a\nSTR             R1, [R0,#0x18]                                         ; +0x28, 0x54f0c\nSTR             R2, [R0,#0x54]                                         ; +0x2a, 0x54f0e\nLDR             R2, =0x472C4400                                        ; +0x2c, 0x54f10\nSTR             R2, [R0,#0x50]                                         ; +0x2e, 0x54f12\nADDS            R2, R0, #4                                             ; +0x30, 0x54f14\nSTRD.W          R2, R2, [R0,#4]                                        ; +0x32, 0x54f16\nADD.W           R2, R0, #0xC4                                          ; +0x36, 0x54f1a\nSTR.W           R2, [R0,#0xC8]                                         ; +0x3a, 0x54f1e\nLDR             R3, =(unk_E4738 - 0x54F28)                             ; +0x3e, 0x54f22\nADD             R3, PC; unk_E4738                                      ; +0x40, 0x54f24\nADDS            R3, #(off_E4740 - 0xE4738)                             ; +0x42, 0x54f26\nSTR             R3, [R0]                                               ; +0x44, 0x54f28\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x46, 0x54f2a\nSTR.W           R2, [R0,#0xC4]                                         ; +0x4a, 0x54f2e\nSTR.W           R1, [R0,#0xA0]                                         ; +0x4e, 0x54f32\nSTR.W           R1, [R0,#0x94]                                         ; +0x52, 0x54f36\nSTRD.W          R1, R1, [R0,#0x34]                                     ; +0x56, 0x54f3a\nSTR             R3, [R0,#0x3C]                                         ; +0x5a, 0x54f3e\nSTR             R1, [R0,#0x48]                                         ; +0x5c, 0x54f40\nSTR             R1, [R0,#0x78]                                         ; +0x5e, 0x54f42\nSTRD.W          R1, R1, [R0,#0x80]                                     ; +0x60, 0x54f44\nSTR.W           R1, [R0,#0x88]                                         ; +0x64, 0x54f48\nSTR.W           R1, [R0,#0xB8]                                         ; +0x68, 0x54f4c\nSTR.W           R1, [R0,#0xA4]                                         ; +0x6c, 0x54f50\nDMB.W           ISH                                                    ; +0x70, 0x54f54\nSTR.W           R1, [R0,#0xBC]                                         ; +0x74, 0x54f58\nDMB.W           ISH                                                    ; +0x78, 0x54f5c\nSTRD.W          R1, R1, [R0,#0xDC]                                     ; +0x7c, 0x54f60\nSTR.W           R1, [R0,#0xE4]                                         ; +0x80, 0x54f64\nSTRD.W          R1, R1, [R0,#0xAC]                                     ; +0x84, 0x54f68\nSTRD.W          R1, R1, [R0,#0x70]                                     ; +0x88, 0x54f6c\nDMB.W           ISH                                                    ; +0x8c, 0x54f70\nSTR             R1, [R0,#0x40]                                         ; +0x90, 0x54f74\nDMB.W           ISH                                                    ; +0x92, 0x54f76\nSTRB.W          R1, [R0,#0x44]                                         ; +0x96, 0x54f7a\nSTRD.W          R2, R2, [R0,#0xC4]                                     ; +0x9a, 0x54f7e\nSTR.W           R1, [R0,#0xCC]                                         ; +0x9e, 0x54f82\nBX              LR                                                     ; +0xa2, 0x54f86", "xrefs": ["sub_543E0 @ 0x543e4", "sub_54470 @ 0x54474", "sub_57BF0 @ 0x57c08"], "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"}