{"type": "func", "start": 13244548, "end": 13244852, "name": "DeathMarkerLayer::mountSection", "pseudocode": "// \n// DeathMarkerLayer::mountSection from 0xca1884 to 0xca19b4 (304 bytes)\n// \n// 3 xrefs:\n// > DeathMarkerLayer::updateVisibility @ 0xca1b50\n// > DeathMarkerLayer::updateVisibility @ 0xca1c08\n// > <???> @ 0xf0748\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::mountSection(DeathMarkerLayer *this, unsigned int a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x22\n  __int64 v5; // x1\n  unsigned __int64 v6; // x20\n  int v7; // w23\n  __int64 v8; // x0\n  __int64 v9; // x19\n  long double v10; // q0\n  __int64 v11; // x0\n  unsigned int v12; // [xsp+4Ch] [xbp+4Ch] BYREF\n\n  v12 = 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                      &v12);\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      v7 = 0;\n      do\n      {\n        v8 = 80LL * *(int *)(v5 + 4 * v6);\n        v9 = *((_QWORD *)this + 40) + v8;\n        if ( *(_QWORD *)(v9 + 64)\n          || (DeathMarkerLayer::buildCell((__int64)this, *((_QWORD *)this + 40) + v8), *(_QWORD *)(v9 + 64)) )\n        {\n          (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 51) + 464LL))(*((_QWORD *)this + 51));\n        }\n        v11 = *(_QWORD *)(v9 + 72);\n        LODWORD(v10) = -0.5;\n        if ( v11 )\n        {\n          if ( !*((_BYTE *)this + 449) )\n            LODWORD(v10) = 0.5;\n          (*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v11 + 128LL))(v11, v10);\n          v7 = 1;\n          (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 52) + 456LL))(\n            *((_QWORD *)this + 52),\n            *(_QWORD *)(v9 + 72));\n        }\n        v5 = *(_QWORD *)(v4 + 24);\n        ++v6;\n        result = *(_QWORD *)(v4 + 32) - v5;\n      }\n      while ( v6 < result >> 2 );\n      if ( v7 )\n        return DeathMarkerLayer::resolveBadgeCollisions(this);\n    }\n  }\n  return result;\n}", "assembly": "; \n; DeathMarkerLayer::mountSection from 0xca1884 to 0xca19b4 (304 bytes)\n; \n; 3 xrefs:\n; > DeathMarkerLayer::updateVisibility @ 0xca1b50\n; > DeathMarkerLayer::updateVisibility @ 0xca1c08\n; > <???> @ 0xf0748\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_50]!                                ; +0x0, 0xca1884\nMOV             X29, SP                                                ; +0x4, 0xca1888\nADD             X2, X29, #0x50+arg_0                                   ; +0x8, 0xca188c\nSTR             X23, [SP,#0x50+var_20]                                 ; +0xc, 0xca1890\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x10, 0xca1894\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x14, 0xca1898\nSTR             W1, [X2,#-4]!                                          ; +0x18, 0xca189c\nMOV             X21, X0                                                ; +0x1c, 0xca18a0\nADD             X0, X0, #0x158                                         ; +0x20, 0xca18a4\nMOV             X1, X2                                                 ; +0x24, 0xca18a8\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&) ; +0x28, 0xca18ac\nMOV             X22, X0                                                ; +0x2c, 0xca18b0\nCBZ             X0, loc_CA196C                                         ; +0x30, 0xca18b4\nLDR             X1, [X0,#0x18]                                         ; +0x34, 0xca18b8\nLDR             X0, [X0,#0x20]                                         ; +0x38, 0xca18bc\nSUB             X0, X0, X1                                             ; +0x3c, 0xca18c0\nASR             X0, X0, #2                                             ; +0x40, 0xca18c4\nCBZ             X0, loc_CA196C                                         ; +0x44, 0xca18c8\nMOV             X20, #0                                                ; +0x48, 0xca18cc\nMOV             W23, #0                                                ; +0x4c, 0xca18d0\nLDRSW           X0, [X1,X20,LSL#2]                                     ; +0x50, 0xca18d4\nLDR             X19, [X21,#0x140]                                      ; +0x54, 0xca18d8\nLSL             X1, X0, #6                                             ; +0x58, 0xca18dc\nADD             X0, X1, X0,LSL#4                                       ; +0x5c, 0xca18e0\nADD             X19, X19, X0                                           ; +0x60, 0xca18e4\nLDR             X1, [X19,#0x40]                                        ; +0x64, 0xca18e8\nCBZ             X1, loc_CA1980                                         ; +0x68, 0xca18ec\nLDR             X2, [X21,#0x198]                                       ; +0x6c, 0xca18f0\nLDR             W4, [X19,#0x30]                                        ; +0x70, 0xca18f4\nMOV             X0, X2                                                 ; +0x74, 0xca18f8\nLDR             X3, [X2]                                               ; +0x78, 0xca18fc\nCMP             W4, #4                                                 ; +0x7c, 0xca1900\nCSET            W2, EQ                                                 ; +0x80, 0xca1904\nLDR             X3, [X3,#0x1D0]                                        ; +0x84, 0xca1908\nBLR             X3                                                     ; +0x88, 0xca190c\nLDR             X0, [X19,#0x48]                                        ; +0x8c, 0xca1910\nFMOV            S0, #-0.5                                              ; +0x90, 0xca1914\nCBZ             X0, loc_CA1950                                         ; +0x94, 0xca1918\nLDR             X1, [X0]                                               ; +0x98, 0xca191c\nLDRB            W2, [X21,#0x1C1]                                       ; +0x9c, 0xca1920\nLDR             X1, [X1,#0x80]                                         ; +0xa0, 0xca1924\nCBNZ            W2, loc_CA1930                                         ; +0xa4, 0xca1928\nFMOV            S0, #0.5                                               ; +0xa8, 0xca192c\nBLR             X1                                                     ; +0xac, 0xca1930\nMOV             W23, #1                                                ; +0xb0, 0xca1934\nLDR             X2, [X21,#0x1A0]                                       ; +0xb4, 0xca1938\nLDR             X1, [X19,#0x48]                                        ; +0xb8, 0xca193c\nMOV             X0, X2                                                 ; +0xbc, 0xca1940\nLDR             X2, [X2]                                               ; +0xc0, 0xca1944\nLDR             X2, [X2,#0x1C8]                                        ; +0xc4, 0xca1948\nBLR             X2                                                     ; +0xc8, 0xca194c\nLDR             X1, [X22,#0x18]                                        ; +0xcc, 0xca1950\nADD             X20, X20, #1                                           ; +0xd0, 0xca1954\nLDR             X0, [X22,#0x20]                                        ; +0xd4, 0xca1958\nSUB             X0, X0, X1                                             ; +0xd8, 0xca195c\nCMP             X20, X0,ASR#2                                          ; +0xdc, 0xca1960\nB.CC            loc_CA18D4                                             ; +0xe0, 0xca1964\nCBNZ            W23, loc_CA1998                                        ; +0xe4, 0xca1968\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xe8, 0xca196c\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0xec, 0xca1970\nLDR             X23, [SP,#0x50+var_20]                                 ; +0xf0, 0xca1974\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xf4, 0xca1978\nRET                                                                    ; +0xf8, 0xca197c\nMOV             X1, X19                                                ; +0xfc, 0xca1980\nMOV             X0, X21                                                ; +0x100, 0xca1984\nBL              _ZN16DeathMarkerLayer9buildCellERNS_6DMCellE; DeathMarkerLayer::buildCell(DeathMarkerLayer::DMCell &) ; +0x104, 0xca1988\nLDR             X1, [X19,#0x40]                                        ; +0x108, 0xca198c\nCBZ             X1, loc_CA1910                                         ; +0x10c, 0xca1990\nB               loc_CA18F0                                             ; +0x110, 0xca1994\nMOV             X0, X21; this                                          ; +0x114, 0xca1998\nBL              _ZN16DeathMarkerLayer22resolveBadgeCollisionsEv; DeathMarkerLayer::resolveBadgeCollisions(void) ; +0x118, 0xca199c\nLDR             X23, [SP,#0x50+var_20]                                 ; +0x11c, 0xca19a0\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x120, 0xca19a4\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x124, 0xca19a8\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x128, 0xca19ac\nRET                                                                    ; +0x12c, 0xca19b0", "xrefs": ["DeathMarkerLayer::updateVisibility @ 0xca1b50", "DeathMarkerLayer::updateVisibility @ 0xca1c08", "<???> @ 0xf0748"], "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"}