{"type": "func", "start": 284556, "end": 284582, "name": "sub_4578C", "pseudocode": "// \n// sub_4578C from 0x4578c to 0x457a6 (26 bytes)\n// \n// 1 xrefs:\n// > sub_45664 @ 0x456e8\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_4578C(int a1)\n{\n  int v1; // r1\n\n  v1 = *(_DWORD *)(a1 + 412);\n  if ( v1 )\n  {\n    *(_BYTE *)(*(_DWORD *)(v1 + 20) + *(_DWORD *)(a1 + 416)) = 0;\n    --*(_DWORD *)(v1 + 12);\n  }\n  return 0;\n}", "assembly": "; \n; sub_4578C from 0x4578c to 0x457a6 (26 bytes)\n; \n; 1 xrefs:\n; > sub_45664 @ 0x456e8\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.W           R1, [R0,#0x19C]                                        ; +0x0, 0x4578c\nCBZ             R1, loc_457A2                                          ; +0x4, 0x45790\nLDR.W           R0, [R0,#0x1A0]                                        ; +0x6, 0x45792\nMOVS            R3, #0                                                 ; +0xa, 0x45796\nLDR             R2, [R1,#0x14]                                         ; +0xc, 0x45798\nSTRB            R3, [R2,R0]                                            ; +0xe, 0x4579a\nLDR             R0, [R1,#0xC]                                          ; +0x10, 0x4579c\nSUBS            R0, #1                                                 ; +0x12, 0x4579e\nSTR             R0, [R1,#0xC]                                          ; +0x14, 0x457a0\nMOVS            R0, #0                                                 ; +0x16, 0x457a2\nBX              LR                                                     ; +0x18, 0x457a4", "xrefs": ["sub_45664 @ 0x456e8"], "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"}