{"type": "func", "start": 4299096468, "end": 4299096560, "name": "InfoLayer::canToggleModRoom", "pseudocode": "// \n// InfoLayer::canToggleModRoom from 0x1003f0194 to 0x1003f01f0 (92 bytes)\n// \n// 2 xrefs:\n// > InfoLayer::init @ 0x1003eefd0\n// > sub_1003F0364 @ 0x1003f03a8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:04:30 +0000\n// \n\nbool __fastcall InfoLayer::canToggleModRoom(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v4; // x0\n\n  v2 = GameManager::sharedState();\n  if ( GameManager::getGameVariable(v2, \"0235\") || !*(_QWORD *)(a1 + 696) || *(_DWORD *)(a1 + 876) )\n    return 0;\n  v4 = GameManager::sharedState();\n  return *(_DWORD *)(v4 + 1032) > *(_DWORD *)(v4 + 1036);\n}", "assembly": "; \n; InfoLayer::canToggleModRoom from 0x1003f0194 to 0x1003f01f0 (92 bytes)\n; \n; 2 xrefs:\n; > InfoLayer::init @ 0x1003eefd0\n; > sub_1003F0364 @ 0x1003f03a8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:04:30 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003f0194\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003f0198\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003f019c\nMOV             X19, X0                                                ; +0xc, 0x1003f01a0\nBL              GameManager__sharedState                               ; +0x10, 0x1003f01a4\nADRL            X1, a0235; \"0235\"                                      ; +0x14, 0x1003f01a8\nBL              GameManager__getGameVariable                           ; +0x1c, 0x1003f01b0\nTBNZ            W0, #0, loc_1003F01C8                                  ; +0x20, 0x1003f01b4\nLDR             X8, [X19,#0x2B8]                                       ; +0x24, 0x1003f01b8\nCBZ             X8, loc_1003F01C8                                      ; +0x28, 0x1003f01bc\nLDR             W8, [X19,#0x36C]                                       ; +0x2c, 0x1003f01c0\nCBZ             W8, loc_1003F01D8                                      ; +0x30, 0x1003f01c4\nMOV             W0, #0                                                 ; +0x34, 0x1003f01c8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1003f01cc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1003f01d0\nRET                                                                    ; +0x40, 0x1003f01d4\nBL              GameManager__sharedState                               ; +0x44, 0x1003f01d8\nLDR             W8, [X0,#0x408]                                        ; +0x48, 0x1003f01dc\nLDR             W9, [X0,#0x40C]                                        ; +0x4c, 0x1003f01e0\nCMP             W8, W9                                                 ; +0x50, 0x1003f01e4\nCSET            W0, GT                                                 ; +0x54, 0x1003f01e8\nB               loc_1003F01CC                                          ; +0x58, 0x1003f01ec", "xrefs": ["InfoLayer::init @ 0x1003eefd0", "sub_1003F0364 @ 0x1003f03a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}