{"type": "func", "start": 5372718384, "end": 5372718555, "name": "InfoLayer::toggleModRoom", "pseudocode": "// \n// InfoLayer::toggleModRoom from 0x1403d2d30 to 0x1403d2ddb (171 bytes)\n// \n// 5 xrefs:\n// > AccountReviewPopup::onNotes @ 0x1400b9ae1\n// > InfoLayer::reloadWindow @ 0x1403d295b\n// > ProfilePage::onModNotes @ 0x140557a46\n// > InfoLayer::init @ 0x1403cf608\n// > <???> @ 0x1409247d0\n// \n// This function is hookable on this platform (idp: pc, 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:31:35 +0000\n// \n\nvoid __fastcall InfoLayer::toggleModRoom(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rax\n  const char *v4; // rdx\n  __int64 v5; // rcx\n\n  *(_BYTE *)(a1 + 888) = *(_BYTE *)(a1 + 888) == 0;\n  InfoLayer::refreshUserTitle(a1);\n  v2 = *(_QWORD *)(a1 + 824);\n  if ( v2 )\n  {\n    v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 952LL))(v2);\n    v4 = \"GJ_button_01.png\";\n    if ( *(_BYTE *)(a1 + 888) )\n      v4 = \"GJ_button_02.png\";\n    ButtonSprite::updateBGImage(v3, v4);\n  }\n  v5 = *(_QWORD *)(a1 + 832);\n  if ( v5 )\n  {\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 336LL))(v5, *(unsigned __int8 *)(a1 + 888));\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 832) + 936LL))(\n      *(_QWORD *)(a1 + 832),\n      *(unsigned __int8 *)(a1 + 888));\n  }\n  InfoLayer::clearBulkSelection(a1);\n  *(_DWORD *)(a1 + 864) = 0;\n  InfoLayer::loadPage(a1, 0, 0);\n}", "assembly": "; \n; InfoLayer::toggleModRoom from 0x1403d2d30 to 0x1403d2ddb (171 bytes)\n; \n; 5 xrefs:\n; > AccountReviewPopup::onNotes @ 0x1400b9ae1\n; > InfoLayer::reloadWindow @ 0x1403d295b\n; > ProfilePage::onModNotes @ 0x140557a46\n; > InfoLayer::init @ 0x1403cf608\n; > <???> @ 0x1409247d0\n; \n; This function is hookable on this platform (idp: pc, 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:31:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403d2d30\nsub     rsp, 20h                                                       ; +0x2, 0x1403d2d32\ncmp     byte ptr [rcx+378h], 0                                         ; +0x6, 0x1403d2d36\nmov     rbx, rcx                                                       ; +0xd, 0x1403d2d3d\nsetz    al                                                             ; +0x10, 0x1403d2d40\nmov     [rcx+378h], al                                                 ; +0x13, 0x1403d2d43\ncall    InfoLayer__refreshUserTitle                                    ; +0x19, 0x1403d2d49\nmov     rcx, [rbx+338h]                                                ; +0x1e, 0x1403d2d4e\ntest    rcx, rcx                                                       ; +0x25, 0x1403d2d55\njz      short loc_1403D2D84                                            ; +0x28, 0x1403d2d58\nmov     rax, [rcx]                                                     ; +0x2a, 0x1403d2d5a\ncall    qword ptr [rax+3B8h]                                           ; +0x2d, 0x1403d2d5d\ncmp     byte ptr [rbx+378h], 0                                         ; +0x33, 0x1403d2d63\nlea     rcx, aGjButton02Png; \"GJ_button_02.png\"                        ; +0x3a, 0x1403d2d6a\nlea     rdx, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x41, 0x1403d2d71\ncmovnz  rdx, rcx                                                       ; +0x48, 0x1403d2d78\nmov     rcx, rax                                                       ; +0x4c, 0x1403d2d7c\ncall    ButtonSprite__updateBGImage                                    ; +0x4f, 0x1403d2d7f\nmov     rcx, [rbx+340h]                                                ; +0x54, 0x1403d2d84\ntest    rcx, rcx                                                       ; +0x5b, 0x1403d2d8b\njz      short loc_1403D2DB7                                            ; +0x5e, 0x1403d2d8e\nmov     rax, [rcx]                                                     ; +0x60, 0x1403d2d90\nmovzx   edx, byte ptr [rbx+378h]                                       ; +0x63, 0x1403d2d93\ncall    qword ptr [rax+150h]                                           ; +0x6a, 0x1403d2d9a\nmov     rcx, [rbx+340h]                                                ; +0x70, 0x1403d2da0\nmovzx   edx, byte ptr [rbx+378h]                                       ; +0x77, 0x1403d2da7\nmov     rax, [rcx]                                                     ; +0x7e, 0x1403d2dae\ncall    qword ptr [rax+3A8h]                                           ; +0x81, 0x1403d2db1\nmov     rcx, rbx                                                       ; +0x87, 0x1403d2db7\ncall    InfoLayer__clearBulkSelection                                  ; +0x8a, 0x1403d2dba\nxor     r8d, r8d                                                       ; +0x8f, 0x1403d2dbf\nmov     dword ptr [rbx+360h], 0                                        ; +0x92, 0x1403d2dc2\nxor     edx, edx                                                       ; +0x9c, 0x1403d2dcc\nmov     rcx, rbx                                                       ; +0x9e, 0x1403d2dce\nadd     rsp, 20h                                                       ; +0xa1, 0x1403d2dd1\npop     rbx                                                            ; +0xa5, 0x1403d2dd5\njmp     InfoLayer__loadPage                                            ; +0xa6, 0x1403d2dd6", "xrefs": ["AccountReviewPopup::onNotes @ 0x1400b9ae1", "InfoLayer::reloadWindow @ 0x1403d295b", "ProfilePage::onModNotes @ 0x140557a46", "InfoLayer::init @ 0x1403cf608", "<???> @ 0x1409247d0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}