{"type": "func", "start": 345200, "end": 345248, "name": "sub_54470", "pseudocode": "// \n// sub_54470 from 0x54470 to 0x544a0 (48 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x5446e\n// > sub_59F98 @ 0x5a0be\n// > sub_62B54 @ 0x630da\n// > sub_62B54 @ 0x638b4\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 *sub_54470()\n{\n  _DWORD *result; // r0\n\n  result = (_DWORD *)sub_54EE4();\n  *result = &off_E4678;\n  result[30] = 0;\n  result[63] = 0;\n  result[64] = 1;\n  result[65] = -1;\n  result[66] = 0;\n  result[58] = result + 58;\n  result[59] = result + 58;\n  result[60] = 0;\n  result[61] = 0;\n  return result;\n}", "assembly": "; \n; sub_54470 from 0x54470 to 0x544a0 (48 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x5446e\n; > sub_59F98 @ 0x5a0be\n; > sub_62B54 @ 0x630da\n; > sub_62B54 @ 0x638b4\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, 0x54470\nADD             R7, SP, #8                                             ; +0x2, 0x54472\nBL              sub_54EE4                                              ; +0x4, 0x54474\nLDR             R2, =(unk_E4670 - 0x54488)                             ; +0x8, 0x54478\nADD.W           R1, R0, #0xE8                                          ; +0xa, 0x5447a\nMOV.W           R3, #0xFFFFFFFF                                        ; +0xe, 0x5447e\nMOVS            R4, #1                                                 ; +0x12, 0x54482\nADD             R2, PC; unk_E4670                                      ; +0x14, 0x54484\nADDS            R2, #(off_E4678 - 0xE4670)                             ; +0x16, 0x54486\nSTR             R2, [R0]                                               ; +0x18, 0x54488\nMOVS            R2, #0                                                 ; +0x1a, 0x5448a\nSTR             R2, [R0,#0x78]                                         ; +0x1c, 0x5448c\nSTRD.W          R2, R4, [R0,#0xFC]                                     ; +0x1e, 0x5448e\nSTRD.W          R3, R2, [R0,#0x104]                                    ; +0x22, 0x54492\nSTRD.W          R1, R1, [R0,#0xE8]                                     ; +0x26, 0x54496\nSTRD.W          R2, R2, [R0,#0xF0]                                     ; +0x2a, 0x5449a\nPOP             {R4,R6,R7,PC}                                          ; +0x2e, 0x5449e", "xrefs": ["<???> @ 0x5446e", "sub_59F98 @ 0x5a0be", "sub_62B54 @ 0x630da", "sub_62B54 @ 0x638b4"], "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"}