{"type": "func", "start": 6283620, "end": 6283820, "name": "DS_Dictionary::splitWithForm", "pseudocode": "// \n// DS_Dictionary::splitWithForm from 0x5fe164 to 0x5fe22c (200 bytes)\n// \n// 3 xrefs:\n// > DS_Dictionary::rectFromString @ 0x5fe60e\n// > DS_Dictionary::rectFromString @ 0x5fe62e\n// > DS_Dictionary::vec2FromString @ 0x5fe93c\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\nbool DS_Dictionary::splitWithForm(DS_Dictionary *a1, std::string *const a2, std::vector<std::string> *a3)\n{\n  int v6; // r4\n  int v7; // r4\n  int v8; // r0\n  int v9; // r4\n  int v10; // r0\n  std::string *m_start; // r2\n  std::string v13[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v13[0].m_data.m_data = (stl::StringData<char>::Internal *)a1;\n  v13[1].m_data.m_data = (stl::StringData<char>::Internal *)a2;\n  v13[2].m_data.m_data = (stl::StringData<char>::Internal *)a3;\n  v6 = *((_DWORD *)a2->m_data.m_data - 3);\n  if ( v6 )\n  {\n    v7 = sub_774910(a2, 123, 0);\n    v8 = sub_774910(a2, 125, 0);\n    if ( v7 == -1 || v8 == -1 || v7 > v8 )\n    {\n      LOBYTE(v6) = 0;\n    }\n    else\n    {\n      sub_776158(v13, a2, v7 + 1, v8 - v7 - 1);\n      LOBYTE(v6) = *((_DWORD *)v13[0].m_data.m_data - 3)\n                && (v9 = sub_774910(v13, 123, 0), v10 = sub_774910(v13, 125, 0), v9 == -1)\n                && v10 == -1\n                && (DS_Dictionary::split(a1, v13, \",\", a3), m_start = a3->m_start, a3->m_finish - a3->m_start == 2)\n                && *((_DWORD *)m_start->m_data.m_data - 3)\n                && *((_DWORD *)m_start[1].m_data.m_data - 3) != 0;\n      sub_774008(v13);\n    }\n  }\n  return v6;\n}", "assembly": "; \n; DS_Dictionary::splitWithForm from 0x5fe164 to 0x5fe22c (200 bytes)\n; \n; 3 xrefs:\n; > DS_Dictionary::rectFromString @ 0x5fe60e\n; > DS_Dictionary::rectFromString @ 0x5fe62e\n; > DS_Dictionary::vec2FromString @ 0x5fe93c\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-R2,R4-R9,LR}                                       ; +0x0, 0x5fe164\nMOV             R8, R0                                                 ; +0x4, 0x5fe168\nLDR             R5, =(__stack_chk_guard_ptr - 0x5FE174)                ; +0x6, 0x5fe16a\nMOV             R9, R1                                                 ; +0x8, 0x5fe16c\nMOV             R7, R2                                                 ; +0xa, 0x5fe16e\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xc, 0x5fe170\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xe, 0x5fe172\nLDR             R3, [R5]                                               ; +0x10, 0x5fe174\nSTR             R3, [SP,#0xC+var_8]                                    ; +0x12, 0x5fe176\nLDR             R3, [R1]                                               ; +0x14, 0x5fe178\nLDR.W           R4, [R3,#-0xC]                                         ; +0x16, 0x5fe17a\nCMP             R4, #0                                                 ; +0x1a, 0x5fe17e\nBEQ             loc_5FE218                                             ; +0x1c, 0x5fe180\nMOV             R0, R1                                                 ; +0x1e, 0x5fe182\nMOVS            R2, #0                                                 ; +0x20, 0x5fe184\nMOVS            R1, #0x7B ; '{'                                        ; +0x22, 0x5fe186\nBL              sub_774910                                             ; +0x24, 0x5fe188\nMOVS            R2, #0                                                 ; +0x28, 0x5fe18c\nMOVS            R1, #0x7D ; '}'                                        ; +0x2a, 0x5fe18e\nMOV             R4, R0                                                 ; +0x2c, 0x5fe190\nMOV             R0, R9                                                 ; +0x2e, 0x5fe192\nBL              sub_774910                                             ; +0x30, 0x5fe194\nADDS            R2, R4, #1                                             ; +0x34, 0x5fe198\nBEQ             loc_5FE216                                             ; +0x36, 0x5fe19a\nADDS            R3, R0, #1                                             ; +0x38, 0x5fe19c\nBEQ             loc_5FE216                                             ; +0x3a, 0x5fe19e\nCMP             R4, R0                                                 ; +0x3c, 0x5fe1a0\nBGT             loc_5FE216                                             ; +0x3e, 0x5fe1a2\nSUBS            R3, R0, R4                                             ; +0x40, 0x5fe1a4\nMOV             R1, R9                                                 ; +0x42, 0x5fe1a6\nSUBS            R3, #1                                                 ; +0x44, 0x5fe1a8\nMOV             R0, SP                                                 ; +0x46, 0x5fe1aa\nADDS            R2, R4, #1                                             ; +0x48, 0x5fe1ac\nMOV             R6, SP                                                 ; +0x4a, 0x5fe1ae\nBL              sub_776158                                             ; +0x4c, 0x5fe1b0\nLDR             R3, [SP,#0xC+var_C]                                    ; +0x50, 0x5fe1b4\nLDR.W           R3, [R3,#-0xC]                                         ; +0x52, 0x5fe1b6\nCBNZ            R3, loc_5FE1C0                                         ; +0x56, 0x5fe1ba\nMOVS            R4, #0                                                 ; +0x58, 0x5fe1bc\nB               loc_5FE20E                                             ; +0x5a, 0x5fe1be\nMOVS            R1, #0x7B ; '{'                                        ; +0x5c, 0x5fe1c0\nMOVS            R2, #0                                                 ; +0x5e, 0x5fe1c2\nMOV             R0, SP                                                 ; +0x60, 0x5fe1c4\nBL              sub_774910                                             ; +0x62, 0x5fe1c6\nMOVS            R1, #0x7D ; '}'                                        ; +0x66, 0x5fe1ca\nMOVS            R2, #0                                                 ; +0x68, 0x5fe1cc\nMOV             R4, R0                                                 ; +0x6a, 0x5fe1ce\nMOV             R0, SP                                                 ; +0x6c, 0x5fe1d0\nBL              sub_774910                                             ; +0x6e, 0x5fe1d2\nADDS            R4, #1                                                 ; +0x72, 0x5fe1d6\nBNE             loc_5FE1BC                                             ; +0x74, 0x5fe1d8\nADDS            R0, #1                                                 ; +0x76, 0x5fe1da\nBNE             loc_5FE1BC                                             ; +0x78, 0x5fe1dc\nLDR             R2, =(asc_948B9B - 0x5FE1EA); \",\"                      ; +0x7a, 0x5fe1de\nMOV             R3, R7                                                 ; +0x7c, 0x5fe1e0\nMOV             R0, R8; int                                            ; +0x7e, 0x5fe1e2\nMOV             R1, SP; int                                            ; +0x80, 0x5fe1e4\nADD             R2, PC; \",\"                                            ; +0x82, 0x5fe1e6\nBL              _ZN13DS_Dictionary5splitERKSsPKcRSt6vectorISsSaISsEE; DS_Dictionary::split(std::string const&,char const*,std::vector<std::string> &) ; +0x84, 0x5fe1e8\nLDM.W           R7, {R2,R3}                                            ; +0x88, 0x5fe1ec\nSUBS            R3, R3, R2                                             ; +0x8c, 0x5fe1f0\nASRS            R3, R3, #2                                             ; +0x8e, 0x5fe1f2\nCMP             R3, #2                                                 ; +0x90, 0x5fe1f4\nBNE             loc_5FE1BC                                             ; +0x92, 0x5fe1f6\nLDR             R3, [R2]                                               ; +0x94, 0x5fe1f8\nLDR.W           R3, [R3,#-0xC]                                         ; +0x96, 0x5fe1fa\nCMP             R3, #0                                                 ; +0x9a, 0x5fe1fe\nBEQ             loc_5FE1BC                                             ; +0x9c, 0x5fe200\nLDR             R3, [R2,#4]                                            ; +0x9e, 0x5fe202\nLDR.W           R4, [R3,#-0xC]                                         ; +0xa0, 0x5fe204\nADDS            R4, #0                                                 ; +0xa4, 0x5fe208\nIT NE                                                                  ; +0xa6, 0x5fe20a\nMOVNE           R4, #1                                                 ; +0xa8, 0x5fe20c\nMOV             R0, R6                                                 ; +0xaa, 0x5fe20e\nBL              sub_774008                                             ; +0xac, 0x5fe210\nB               loc_5FE218                                             ; +0xb0, 0x5fe214\nMOVS            R4, #0                                                 ; +0xb2, 0x5fe216\nLDR             R2, [SP,#0xC+var_8]                                    ; +0xb4, 0x5fe218\nMOV             R0, R4                                                 ; +0xb6, 0x5fe21a\nLDR             R3, [R5]                                               ; +0xb8, 0x5fe21c\nCMP             R2, R3                                                 ; +0xba, 0x5fe21e\nBEQ             loc_5FE226                                             ; +0xbc, 0x5fe220\nBLX             __stack_chk_fail                                       ; +0xbe, 0x5fe222\nADD             SP, SP, #0xC                                           ; +0xc2, 0x5fe226\nPOP.W           {R4-R9,PC}                                             ; +0xc4, 0x5fe228", "xrefs": ["DS_Dictionary::rectFromString @ 0x5fe60e", "DS_Dictionary::rectFromString @ 0x5fe62e", "DS_Dictionary::vec2FromString @ 0x5fe93c"], "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"}