{"type": "func", "start": 5371899440, "end": 5371899541, "name": "ShareListLayer::onUnlisted", "pseudocode": "// \n// ShareListLayer::onUnlisted from 0x14030ae30 to 0x14030ae95 (101 bytes)\n// \n// 3 xrefs:\n// > ShareListLayer::init @ 0x14030a56e\n// > ShareListLayer::init @ 0x14030a7d0\n// > <???> @ 0x1406d4658\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\nvoid ShareListLayer::onUnlisted(ShareListLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // eax\n  GJLevelList *m_list; // rdx\n  bool m_unlisted; // cl\n\n  v3 = a2->getTag(a2);\n  m_list = a1->m_list;\n  if ( v3 == 1 )\n  {\n    m_list->m_friendsOnly = !m_list->m_friendsOnly;\n  }\n  else\n  {\n    m_unlisted = m_list->m_unlisted;\n    m_list->m_unlisted = !m_unlisted;\n    if ( m_unlisted )\n      a1->m_list->m_friendsOnly = 0;\n    ShareListLayer::updateUnlistedF(a1);\n  }\n}", "assembly": "; \n; ShareListLayer::onUnlisted from 0x14030ae30 to 0x14030ae95 (101 bytes)\n; \n; 3 xrefs:\n; > ShareListLayer::init @ 0x14030a56e\n; > ShareListLayer::init @ 0x14030a7d0\n; > <???> @ 0x1406d4658\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    rbx                                                            ; +0x0, 0x14030ae30\nsub     rsp, 20h                                                       ; +0x2, 0x14030ae32\nmov     rax, [rdx]                                                     ; +0x6, 0x14030ae36\nmov     rbx, rcx                                                       ; +0x9, 0x14030ae39\nmov     rcx, rdx                                                       ; +0xc, 0x14030ae3c\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x14030ae3f\nmov     rdx, [rbx+278h]                                                ; +0x12, 0x14030ae42\ncmp     eax, 1                                                         ; +0x19, 0x14030ae49\njnz     short loc_14030AE64                                            ; +0x1c, 0x14030ae4c\ncmp     byte ptr [rdx+18Ah], 0                                         ; +0x1e, 0x14030ae4e\nsetz    al                                                             ; +0x25, 0x14030ae55\nmov     [rdx+18Ah], al                                                 ; +0x28, 0x14030ae58\nadd     rsp, 20h                                                       ; +0x2e, 0x14030ae5e\npop     rbx                                                            ; +0x32, 0x14030ae62\nretn                                                                   ; +0x33, 0x14030ae63\nmovzx   ecx, byte ptr [rdx+189h]                                       ; +0x34, 0x14030ae64\ntest    cl, cl                                                         ; +0x3b, 0x14030ae6b\nsetz    al                                                             ; +0x3d, 0x14030ae6d\nmov     [rdx+189h], al                                                 ; +0x40, 0x14030ae70\ntest    cl, cl                                                         ; +0x46, 0x14030ae76\njz      short loc_14030AE88                                            ; +0x48, 0x14030ae78\nmov     rax, [rbx+278h]                                                ; +0x4a, 0x14030ae7a\nmov     byte ptr [rax+18Ah], 0                                         ; +0x51, 0x14030ae81\nmov     rcx, rbx                                                       ; +0x58, 0x14030ae88\nadd     rsp, 20h                                                       ; +0x5b, 0x14030ae8b\npop     rbx                                                            ; +0x5f, 0x14030ae8f\njmp     ShareListLayer__updateUnlistedF                                ; +0x60, 0x14030ae90", "xrefs": ["ShareListLayer::init @ 0x14030a56e", "ShareListLayer::init @ 0x14030a7d0", "<???> @ 0x1406d4658"], "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"}