{"type": "func", "start": 360676, "end": 360716, "name": "sub_580E4", "pseudocode": "// \n// sub_580E4 from 0x580e4 to 0x5810c (40 bytes)\n// \n// 0 xrefs:\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_580E4(int a1, int a2, int a3, int a4)\n{\n  return sub_BD598(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a1, a2, a4, 0, a3 | 0x10);\n}", "assembly": "; \n; sub_580E4 from 0x580e4 to 0x5810c (40 bytes)\n; \n; 0 xrefs:\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            {R2-R5,R7,LR}                                          ; +0x0, 0x580e4\nADD             R7, SP, #0x10                                          ; +0x2, 0x580e6\nMOV             R4, R1                                                 ; +0x4, 0x580e8\nMOV             R1, R0                                                 ; +0x6, 0x580ea\nLDR             R0, =(off_E6144 - 0x580F8)                             ; +0x8, 0x580ec\nORR.W           R2, R2, #0x10                                          ; +0xa, 0x580ee\nMOVS            R5, #0                                                 ; +0xe, 0x580f2\nADD             R0, PC; off_E6144                                      ; +0x10, 0x580f4\nLDR             R0, [R0]; off_E8000                                    ; +0x12, 0x580f6\nLDR             R0, [R0]; dword_F2488                                  ; +0x14, 0x580f8\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x16, 0x580fa\nSTRD.W          R5, R2, [SP,#8+var_8]                                  ; +0x1a, 0x580fe\nMOV             R2, R4                                                 ; +0x1e, 0x58102\nBL              sub_BD598                                              ; +0x20, 0x58104\nADD             SP, SP, #8                                             ; +0x24, 0x58108\nPOP             {R4,R5,R7,PC}                                          ; +0x26, 0x5810a", "xrefs": [], "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"}