{"type": "func", "start": 284746, "end": 284840, "name": "sub_4584A", "pseudocode": "// \n// sub_4584A from 0x4584a to 0x458a8 (94 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_4584A(_DWORD *a1, bool *a2)\n{\n  int v2; // r2\n  int v3; // r2\n  int v4; // r2\n  int v5; // r2\n  int v6; // r2\n  int v7; // r2\n  int v8; // r2\n  int v9; // r2\n\n  v2 = *(_DWORD *)(*(_DWORD *)(a1[3] + 56) + 92);\n  __dmb(0xBu);\n  if ( (v2 & 0x80) != 0 )\n  {\n    if ( !a1[5] || !a1[115] || (v3 = a1[43], __dmb(0xBu), (v3 & 0x80) != 0) )\n    {\n      v4 = a1[130];\n      if ( !v4 || (v5 = *(_DWORD *)(v4 + 92), __dmb(0xBu), (v5 & 0x80) != 0) )\n      {\n        v6 = a1[131];\n        if ( !v6 || (v7 = *(_DWORD *)(v6 + 92), __dmb(0xBu), (v7 & 0x80) != 0) )\n        {\n          v8 = a1[6];\n          if ( !v8 )\n            return sub_44CFC((int)a1, a2);\n          v9 = *(_DWORD *)(v8 + 92);\n          __dmb(0xBu);\n          if ( (v9 & 0x80) != 0 )\n            return sub_44CFC((int)a1, a2);\n        }\n      }\n    }\n  }\n  *a2 = 1;\n  return 0;\n}", "assembly": "; \n; sub_4584A from 0x4584a to 0x458a8 (94 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\nLDR             R2, [R0,#0xC]                                          ; +0x0, 0x4584a\nLDR             R2, [R2,#0x38]                                         ; +0x2, 0x4584c\nLDR             R2, [R2,#0x5C]                                         ; +0x4, 0x4584e\nDMB.W           ISH                                                    ; +0x6, 0x45850\nLSLS            R2, R2, #0x18                                          ; +0xa, 0x45854\nBPL             loc_4589C                                              ; +0xc, 0x45856\nLDR             R2, [R0,#0x14]                                         ; +0xe, 0x45858\nCBZ             R2, loc_4586E                                          ; +0x10, 0x4585a\nLDR.W           R2, [R0,#0x1CC]                                        ; +0x12, 0x4585c\nCBZ             R2, loc_4586E                                          ; +0x16, 0x45860\nLDR.W           R2, [R0,#0xAC]                                         ; +0x18, 0x45862\nDMB.W           ISH                                                    ; +0x1c, 0x45866\nLSLS            R2, R2, #0x18                                          ; +0x20, 0x4586a\nBPL             loc_4589C                                              ; +0x22, 0x4586c\nLDR.W           R2, [R0,#0x208]                                        ; +0x24, 0x4586e\nCBZ             R2, loc_4587E                                          ; +0x28, 0x45872\nLDR             R2, [R2,#0x5C]                                         ; +0x2a, 0x45874\nDMB.W           ISH                                                    ; +0x2c, 0x45876\nLSLS            R2, R2, #0x18                                          ; +0x30, 0x4587a\nBPL             loc_4589C                                              ; +0x32, 0x4587c\nLDR.W           R2, [R0,#0x20C]                                        ; +0x34, 0x4587e\nCBZ             R2, loc_4588E                                          ; +0x38, 0x45882\nLDR             R2, [R2,#0x5C]                                         ; +0x3a, 0x45884\nDMB.W           ISH                                                    ; +0x3c, 0x45886\nLSLS            R2, R2, #0x18                                          ; +0x40, 0x4588a\nBPL             loc_4589C                                              ; +0x42, 0x4588c\nLDR             R2, [R0,#0x18]                                         ; +0x44, 0x4588e\nCBZ             R2, loc_458A4                                          ; +0x46, 0x45890\nLDR             R2, [R2,#0x5C]                                         ; +0x48, 0x45892\nDMB.W           ISH                                                    ; +0x4a, 0x45894\nLSLS            R2, R2, #0x18                                          ; +0x4e, 0x45898\nBMI             loc_458A4                                              ; +0x50, 0x4589a\nMOVS            R0, #1                                                 ; +0x52, 0x4589c\nSTRB            R0, [R1]                                               ; +0x54, 0x4589e\nMOVS            R0, #0                                                 ; +0x56, 0x458a0\nBX              LR                                                     ; +0x58, 0x458a2\nB.W             sub_44CFC                                              ; +0x5a, 0x458a4", "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"}