{"type": "func", "start": 6288020, "end": 6288124, "name": "DS_Dictionary::setBoolMapForKey", "pseudocode": "// \n// DS_Dictionary::setBoolMapForKey from 0x5ff294 to 0x5ff2fc (104 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::encodeDataTo @ 0x3c7ba8\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 DS_Dictionary::setBoolMapForKey(DS_Dictionary *a1, const char *a2, std::map<std::string,bool> *a3)\n{\n  std::_rb_tree_base *m_left; // r5\n  std::_rb_tree_base *p_m_header; // r6\n  char *v8[2]; // [sp+0h] [bp-8h] BYREF\n\n  v8[0] = (char *)a1;\n  v8[1] = (char *)a2;\n  DS_Dictionary::setSubDictForKey(a1, a2);\n  if ( DS_Dictionary::stepIntoSubDictWithKey(a1, a2) )\n  {\n    m_left = a3->m_header.m_left;\n    p_m_header = &a3->m_header;\n    while ( m_left != p_m_header )\n    {\n      sub_775C20(v8);\n      DS_Dictionary::setBoolForKey(a1, v8[0], (bool)m_left[1].m_parent);\n      sub_774008(v8);\n      m_left = (std::_rb_tree_base *)sub_761FA8(m_left);\n    }\n    DS_Dictionary::stepOutOfSubDict(a1);\n  }\n}", "assembly": "; \n; DS_Dictionary::setBoolMapForKey from 0x5ff294 to 0x5ff2fc (104 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::encodeDataTo @ 0x3c7ba8\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.W          {R0,R1,R4-R8,LR}                                       ; +0x0, 0x5ff294\nMOV             R7, R0                                                 ; +0x4, 0x5ff298\nLDR             R4, =(__stack_chk_guard_ptr - 0x5FF2A4)                ; +0x6, 0x5ff29a\nMOV             R5, R1                                                 ; +0x8, 0x5ff29c\nMOV             R6, R2                                                 ; +0xa, 0x5ff29e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x5ff2a0\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x5ff2a2\nLDR             R3, [R4]                                               ; +0x10, 0x5ff2a4\nSTR             R3, [SP,#8+var_4]                                      ; +0x12, 0x5ff2a6\nBL              _ZN13DS_Dictionary16setSubDictForKeyEPKc; DS_Dictionary::setSubDictForKey(char const*) ; +0x14, 0x5ff2a8\nMOV             R0, R7; this                                           ; +0x18, 0x5ff2ac\nMOV             R1, R5; char *                                         ; +0x1a, 0x5ff2ae\nBL              _ZN13DS_Dictionary22stepIntoSubDictWithKeyEPKc; DS_Dictionary::stepIntoSubDictWithKey(char const*) ; +0x1c, 0x5ff2b0\nCBZ             R0, loc_5FF2EA                                         ; +0x20, 0x5ff2b4\nLDR             R5, [R6,#0xC]                                          ; +0x22, 0x5ff2b6\nADDS            R6, #4                                                 ; +0x24, 0x5ff2b8\nMOV             R8, SP                                                 ; +0x26, 0x5ff2ba\nCMP             R5, R6                                                 ; +0x28, 0x5ff2bc\nBEQ             loc_5FF2E4                                             ; +0x2a, 0x5ff2be\nADD.W           R1, R5, #0x10                                          ; +0x2c, 0x5ff2c0\nMOV             R0, R8                                                 ; +0x30, 0x5ff2c4\nBL              sub_775C20                                             ; +0x32, 0x5ff2c6\nLDRB            R2, [R5,#0x14]; bool                                   ; +0x36, 0x5ff2ca\nLDR             R1, [SP,#8+var_8]; char *                              ; +0x38, 0x5ff2cc\nMOV             R0, R7; this                                           ; +0x3a, 0x5ff2ce\nBL              _ZN13DS_Dictionary13setBoolForKeyEPKcb; DS_Dictionary::setBoolForKey(char const*,bool) ; +0x3c, 0x5ff2d0\nMOV             R0, R8                                                 ; +0x40, 0x5ff2d4\nBL              sub_774008                                             ; +0x42, 0x5ff2d6\nMOV             R0, R5                                                 ; +0x46, 0x5ff2da\nBL              sub_761FA8                                             ; +0x48, 0x5ff2dc\nMOV             R5, R0                                                 ; +0x4c, 0x5ff2e0\nB               loc_5FF2BC                                             ; +0x4e, 0x5ff2e2\nMOV             R0, R7; this                                           ; +0x50, 0x5ff2e4\nBL              _ZN13DS_Dictionary16stepOutOfSubDictEv; DS_Dictionary::stepOutOfSubDict(void) ; +0x52, 0x5ff2e6\nLDR             R2, [SP,#8+var_4]                                      ; +0x56, 0x5ff2ea\nLDR             R3, [R4]                                               ; +0x58, 0x5ff2ec\nCMP             R2, R3                                                 ; +0x5a, 0x5ff2ee\nBEQ             loc_5FF2F6                                             ; +0x5c, 0x5ff2f0\nBLX             __stack_chk_fail                                       ; +0x5e, 0x5ff2f2\nADD             SP, SP, #8                                             ; +0x62, 0x5ff2f6\nPOP.W           {R4-R8,PC}                                             ; +0x64, 0x5ff2f8", "xrefs": ["GameLevelManager::encodeDataTo @ 0x3c7ba8"], "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"}