{"type": "func", "start": 13239924, "end": 13240128, "name": "DeathMarkerLayer::unmountSection", "pseudocode": "// \n// DeathMarkerLayer::unmountSection from 0xca0674 to 0xca0740 (204 bytes)\n// \n// 4 xrefs:\n// > DeathMarkerLayer::updateVisibility @ 0xca1ad8\n// > DeathMarkerLayer::updateVisibility @ 0xca1bd8\n// > DeathMarkerLayer::updateVisibility @ 0xca1c44\n// > <???> @ 0x7b568\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 13:05:59 +0000\n// \n\n__int64 __fastcall DeathMarkerLayer::unmountSection(DeathMarkerLayer *this, unsigned int a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x22\n  __int64 v5; // x1\n  unsigned __int64 v6; // x20\n  __int64 v7; // x0\n  __int64 v8; // x19\n  __int64 v9; // x1\n  __int64 v10; // x1\n  unsigned int v11; // [xsp+3Ch] [xbp+3Ch] BYREF\n\n  v11 = a2;\n  result = (__int64)std::__hash_table<std::__hash_value_type<unsigned int,std::vector<int>>,std::__unordered_map_hasher<unsigned int,std::__hash_value_type<unsigned int,std::vector<int>>,std::hash<unsigned int>,true>,std::__unordered_map_equal<unsigned int,std::__hash_value_type<unsigned int,std::vector<int>>,std::equal_to<unsigned int>,true>,std::allocator<std::__hash_value_type<unsigned int,std::vector<int>>>>::find<unsigned int>(\n                      (_QWORD *)this + 43,\n                      &v11);\n  v4 = result;\n  if ( result )\n  {\n    v5 = *(_QWORD *)(result + 24);\n    result = (*(_QWORD *)(result + 32) - v5) >> 2;\n    if ( result )\n    {\n      v6 = 0;\n      do\n      {\n        v7 = *(int *)(v5 + 4 * v6++);\n        v8 = *((_QWORD *)this + 40) + 80 * v7;\n        v9 = *(_QWORD *)(v8 + 64);\n        if ( v9 )\n          (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 51) + 552LL))(\n            *((_QWORD *)this + 51),\n            v9,\n            0);\n        v10 = *(_QWORD *)(v8 + 72);\n        if ( v10 )\n          (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 52) + 552LL))(\n            *((_QWORD *)this + 52),\n            v10,\n            0);\n        v5 = *(_QWORD *)(v4 + 24);\n        result = *(_QWORD *)(v4 + 32) - v5;\n      }\n      while ( v6 < result >> 2 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; DeathMarkerLayer::unmountSection from 0xca0674 to 0xca0740 (204 bytes)\n; \n; 4 xrefs:\n; > DeathMarkerLayer::updateVisibility @ 0xca1ad8\n; > DeathMarkerLayer::updateVisibility @ 0xca1bd8\n; > DeathMarkerLayer::updateVisibility @ 0xca1c44\n; > <???> @ 0x7b568\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 13:05:59 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xca0674\nMOV             X29, SP                                                ; +0x4, 0xca0678\nADD             X2, X29, #0x40+arg_0                                   ; +0x8, 0xca067c\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0xc, 0xca0680\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x10, 0xca0684\nSTR             W1, [X2,#-4]!                                          ; +0x14, 0xca0688\nMOV             X21, X0                                                ; +0x18, 0xca068c\nADD             X0, X0, #0x158                                         ; +0x1c, 0xca0690\nMOV             X1, X2                                                 ; +0x20, 0xca0694\nBL              _ZNSt6__ndk112__hash_tableINS_17__hash_value_typeIjNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIjS6_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS6_NS_8equal_toIjEELb1EEENS3_IS6_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS6_PvEEEERKT_; std::__hash_table<std::__hash_value_type<uint,std::vector<int>>,std::__unordered_map_hasher<uint,std::__hash_value_type<uint,std::vector<int>>,std::hash<uint>,true>,std::__unordered_map_equal<uint,std::__hash_value_type<uint,std::vector<int>>,std::equal_to<uint>,true>,std::allocator<std::__hash_value_type<uint,std::vector<int>>>>::find<uint>(uint const&) ; +0x24, 0xca0698\nMOV             X22, X0                                                ; +0x28, 0xca069c\nCBZ             X0, loc_CA0730                                         ; +0x2c, 0xca06a0\nLDR             X1, [X0,#0x18]                                         ; +0x30, 0xca06a4\nLDR             X0, [X0,#0x20]                                         ; +0x34, 0xca06a8\nSUB             X0, X0, X1                                             ; +0x38, 0xca06ac\nASR             X0, X0, #2                                             ; +0x3c, 0xca06b0\nCBZ             X0, loc_CA0730                                         ; +0x40, 0xca06b4\nMOV             X20, #0                                                ; +0x44, 0xca06b8\nLDRSW           X0, [X1,X20,LSL#2]                                     ; +0x48, 0xca06bc\nMOV             W2, #0                                                 ; +0x4c, 0xca06c0\nLDR             X19, [X21,#0x140]                                      ; +0x50, 0xca06c4\nADD             X20, X20, #1                                           ; +0x54, 0xca06c8\nLSL             X1, X0, #6                                             ; +0x58, 0xca06cc\nADD             X0, X1, X0,LSL#4                                       ; +0x5c, 0xca06d0\nADD             X19, X19, X0                                           ; +0x60, 0xca06d4\nLDR             X0, [X19,#0x40]                                        ; +0x64, 0xca06d8\nMOV             X1, X0                                                 ; +0x68, 0xca06dc\nCBZ             X0, loc_CA06F8                                         ; +0x6c, 0xca06e0\nLDR             X3, [X21,#0x198]                                       ; +0x70, 0xca06e4\nMOV             X0, X3                                                 ; +0x74, 0xca06e8\nLDR             X3, [X3]                                               ; +0x78, 0xca06ec\nLDR             X3, [X3,#0x228]                                        ; +0x7c, 0xca06f0\nBLR             X3                                                     ; +0x80, 0xca06f4\nLDR             X0, [X19,#0x48]                                        ; +0x84, 0xca06f8\nMOV             W2, #0                                                 ; +0x88, 0xca06fc\nMOV             X1, X0                                                 ; +0x8c, 0xca0700\nCBZ             X0, loc_CA071C                                         ; +0x90, 0xca0704\nLDR             X3, [X21,#0x1A0]                                       ; +0x94, 0xca0708\nMOV             X0, X3                                                 ; +0x98, 0xca070c\nLDR             X3, [X3]                                               ; +0x9c, 0xca0710\nLDR             X3, [X3,#0x228]                                        ; +0xa0, 0xca0714\nBLR             X3                                                     ; +0xa4, 0xca0718\nLDR             X1, [X22,#0x18]                                        ; +0xa8, 0xca071c\nLDR             X0, [X22,#0x20]                                        ; +0xac, 0xca0720\nSUB             X0, X0, X1                                             ; +0xb0, 0xca0724\nCMP             X20, X0,ASR#2                                          ; +0xb4, 0xca0728\nB.CC            loc_CA06BC                                             ; +0xb8, 0xca072c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xbc, 0xca0730\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0xc0, 0xca0734\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xc4, 0xca0738\nRET                                                                    ; +0xc8, 0xca073c", "xrefs": ["DeathMarkerLayer::updateVisibility @ 0xca1ad8", "DeathMarkerLayer::updateVisibility @ 0xca1bd8", "DeathMarkerLayer::updateVisibility @ 0xca1c44", "<???> @ 0x7b568"], "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"}