{"type": "func", "start": 7781208, "end": 7781394, "name": "DeathMarkerLayer::mountSection", "pseudocode": "// \n// DeathMarkerLayer::mountSection from 0x76bb58 to 0x76bc12 (186 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerLayer::updateVisibility @ 0x76bd7a\n// > DeathMarkerLayer::updateVisibility @ 0x76bdd6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:11 +0000\n// \n\nvoid __fastcall DeathMarkerLayer::mountSection(DeathMarkerLayer *this, unsigned int a2)\n{\n  _DWORD *v3; // r7\n  unsigned int v4; // r6\n  int v5; // r8\n  int v6; // r2\n  _DWORD *v7; // r4\n  int v8; // r1\n  int v9; // r0\n  float v10; // r1\n  unsigned int v11; // [sp+4h] [bp-8h] BYREF\n\n  v11 = a2;\n  v3 = 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         (_DWORD *)this + 69,\n         &v11);\n  if ( v3 )\n  {\n    v4 = 0;\n    v5 = 0;\n    while ( 1 )\n    {\n      v6 = v3[3];\n      if ( v4 >= (v3[4] - v6) >> 2 )\n        break;\n      v7 = (_DWORD *)(*((_DWORD *)this + 66) + 72 * *(_DWORD *)(v6 + 4 * v4));\n      if ( !v7[16] )\n        DeathMarkerLayer::buildCell((int)this, *((_DWORD *)this + 66) + 72 * *(_DWORD *)(v6 + 4 * v4));\n      v8 = v7[16];\n      if ( v8 )\n        (*(void (__fastcall **)(_DWORD, int, bool))(**((_DWORD **)this + 79) + 232))(\n          *((_DWORD *)this + 79),\n          v8,\n          v7[12] == 4);\n      v9 = v7[17];\n      if ( v9 )\n      {\n        v5 = 1;\n        if ( *((_BYTE *)this + 349) )\n          v10 = -0.5;\n        else\n          v10 = 0.5;\n        (*(void (__fastcall **)(int, float))(*(_DWORD *)v9 + 64))(v9, COERCE_FLOAT(LODWORD(v10)));\n        (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 80) + 228))(*((_DWORD *)this + 80), v7[17]);\n      }\n      ++v4;\n    }\n    if ( v5 )\n      DeathMarkerLayer::resolveBadgeCollisions(this);\n  }\n}", "assembly": "; \n; DeathMarkerLayer::mountSection from 0x76bb58 to 0x76bc12 (186 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerLayer::updateVisibility @ 0x76bd7a\n; > DeathMarkerLayer::updateVisibility @ 0x76bdd6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:11 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x76bb58\nMOV             R5, R0                                                 ; +0x4, 0x76bb5c\nVPUSH           {D8}                                                   ; +0x6, 0x76bb5e\nADD.W           R0, R0, #0x114                                         ; +0xa, 0x76bb62\nSUB             SP, SP, #0xC                                           ; +0xe, 0x76bb66\nADD             R3, SP, #0xC+var_4                                     ; +0x10, 0x76bb68\nSTR.W           R1, [R3,#-4]!                                          ; +0x12, 0x76bb6a\nMOV             R1, R3                                                 ; +0x16, 0x76bb6e\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&) ; +0x18, 0x76bb70\nMOV             R7, R0                                                 ; +0x1c, 0x76bb74\nCMP             R0, #0                                                 ; +0x1e, 0x76bb76\nBEQ             loc_76BC08                                             ; +0x20, 0x76bb78\nVMOV.F32        S16, #-0.5                                             ; +0x22, 0x76bb7a\nMOVS            R6, #0                                                 ; +0x26, 0x76bb7e\nMOV             R8, R6                                                 ; +0x28, 0x76bb80\nMOV.W           R9, #0x48 ; 'H'                                        ; +0x2a, 0x76bb82\nVMOV.F32        S17, #0.5                                              ; +0x2e, 0x76bb86\nLDR             R2, [R7,#0xC]                                          ; +0x32, 0x76bb8a\nLDR             R3, [R7,#0x10]                                         ; +0x34, 0x76bb8c\nSUBS            R3, R3, R2                                             ; +0x36, 0x76bb8e\nCMP.W           R6, R3,ASR#2                                           ; +0x38, 0x76bb90\nBCS             loc_76BBFC                                             ; +0x3c, 0x76bb94\nLDR.W           R3, [R5,#0x108]                                        ; +0x3e, 0x76bb96\nLDR.W           R4, [R2,R6,LSL#2]                                      ; +0x42, 0x76bb9a\nMLA             R4, R9, R4, R3                                         ; +0x46, 0x76bb9e\nLDR             R3, [R4,#0x40]                                         ; +0x4a, 0x76bba2\nCBNZ            R3, loc_76BBAE                                         ; +0x4c, 0x76bba4\nMOV             R0, R5                                                 ; +0x4e, 0x76bba6\nMOV             R1, R4                                                 ; +0x50, 0x76bba8\nBL              _ZN16DeathMarkerLayer9buildCellERNS_6DMCellE; DeathMarkerLayer::buildCell(DeathMarkerLayer::DMCell &) ; +0x52, 0x76bbaa\nLDR             R1, [R4,#0x40]                                         ; +0x56, 0x76bbae\nCBZ             R1, loc_76BBCC                                         ; +0x58, 0x76bbb0\nLDR.W           R0, [R5,#0x13C]                                        ; +0x5a, 0x76bbb2\nLDR             R2, [R4,#0x30]                                         ; +0x5e, 0x76bbb6\nLDR             R3, [R0]                                               ; +0x60, 0x76bbb8\nSUB.W           LR, R2, #4                                             ; +0x62, 0x76bbba\nRSBS.W          R2, LR, #0                                             ; +0x66, 0x76bbbe\nADC.W           R2, R2, LR                                             ; +0x6a, 0x76bbc2\nLDR.W           R3, [R3,#0xE8]                                         ; +0x6e, 0x76bbc6\nBLX             R3                                                     ; +0x72, 0x76bbca\nLDR             R0, [R4,#0x44]                                         ; +0x74, 0x76bbcc\nCBZ             R0, loc_76BBF8                                         ; +0x76, 0x76bbce\nLDRB.W          R2, [R5,#0x15D]                                        ; +0x78, 0x76bbd0\nMOV.W           R8, #1                                                 ; +0x7c, 0x76bbd4\nLDR             R3, [R0]                                               ; +0x80, 0x76bbd8\nCMP             R2, #0                                                 ; +0x82, 0x76bbda\nLDR             R3, [R3,#0x40]                                         ; +0x84, 0x76bbdc\nITE EQ                                                                 ; +0x86, 0x76bbde\nVMOVEQ          R1, S17                                                ; +0x88, 0x76bbe0\nVMOVNE          R1, S16                                                ; +0x8c, 0x76bbe4\nBLX             R3                                                     ; +0x90, 0x76bbe8\nLDR.W           R0, [R5,#0x140]                                        ; +0x92, 0x76bbea\nLDR             R1, [R4,#0x44]                                         ; +0x96, 0x76bbee\nLDR             R3, [R0]                                               ; +0x98, 0x76bbf0\nLDR.W           R3, [R3,#0xE4]                                         ; +0x9a, 0x76bbf2\nBLX             R3                                                     ; +0x9e, 0x76bbf6\nADDS            R6, #1                                                 ; +0xa0, 0x76bbf8\nB               loc_76BB8A                                             ; +0xa2, 0x76bbfa\nCMP.W           R8, #0                                                 ; +0xa4, 0x76bbfc\nBEQ             loc_76BC08                                             ; +0xa8, 0x76bc00\nMOV             R0, R5; this                                           ; +0xaa, 0x76bc02\nBL              _ZN16DeathMarkerLayer22resolveBadgeCollisionsEv; DeathMarkerLayer::resolveBadgeCollisions(void) ; +0xac, 0x76bc04\nADD             SP, SP, #0xC                                           ; +0xb0, 0x76bc08\nVPOP            {D8}                                                   ; +0xb2, 0x76bc0a\nPOP.W           {R4-R9,PC}                                             ; +0xb6, 0x76bc0e", "xrefs": ["DeathMarkerLayer::updateVisibility @ 0x76bd7a", "DeathMarkerLayer::updateVisibility @ 0x76bdd6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}