{"type": "func", "start": 6283496, "end": 6283614, "name": "DS_Dictionary::split", "pseudocode": "// \n// DS_Dictionary::split from 0x5fe0e8 to 0x5fe15e (118 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::splitWithForm @ 0x5fe1e8\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::split(DS_Dictionary *a1, std::string *const a2, const char *a3, std::vector<std::string> *a4)\n{\n  size_t v7; // r6\n  int v8; // r0\n  int v9; // r5\n  size_t v10; // r3\n  _DWORD v11[2]; // [sp+0h] [bp-8h] BYREF\n\n  v11[0] = a1;\n  v11[1] = a2;\n  v7 = 0;\n  do\n  {\n    v8 = sub_7748A0((int)a2, (char *)a3);\n    v9 = v8;\n    if ( v8 == -1 )\n      v10 = *((_DWORD *)a2->m_data.m_data - 3);\n    else\n      v10 = v8 - v7;\n    if ( v8 == -1 )\n      v10 -= v7;\n    sub_776158(v11, a2, v7, v10);\n    std::vector<std::string>::emplace_back<std::string>((int)a4, v11);\n    sub_774008(v11);\n    v7 = strlen(a3) + v9;\n  }\n  while ( v9 != -1 );\n}", "assembly": "; \n; DS_Dictionary::split from 0x5fe0e8 to 0x5fe15e (118 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::splitWithForm @ 0x5fe1e8\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-R10,LR}                                      ; +0x0, 0x5fe0e8\nMOV             R10, R3                                                ; +0x4, 0x5fe0ec\nLDR             R3, =(__stack_chk_guard_ptr - 0x5FE0FA)                ; +0x6, 0x5fe0ee\nMOV             R9, R2                                                 ; +0x8, 0x5fe0f0\nMOV             R8, R1                                                 ; +0xa, 0x5fe0f2\nMOVS            R6, #0                                                 ; +0xc, 0x5fe0f4\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x5fe0f6\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x5fe0f8\nMOV             R4, SP                                                 ; +0x12, 0x5fe0fa\nLDR             R2, [R3]                                               ; +0x14, 0x5fe0fc\nMOV             R7, R3                                                 ; +0x16, 0x5fe0fe\nSTR             R2, [SP,#8+var_4]                                      ; +0x18, 0x5fe100\nMOV             R2, R6                                                 ; +0x1a, 0x5fe102\nMOV             R1, R9; char *                                         ; +0x1c, 0x5fe104\nMOV             R0, R8; int                                            ; +0x1e, 0x5fe106\nBL              sub_7748A0                                             ; +0x20, 0x5fe108\nADDS            R3, R0, #1                                             ; +0x24, 0x5fe10c\nMOV             R5, R0                                                 ; +0x26, 0x5fe10e\nITTET EQ                                                               ; +0x28, 0x5fe110\nLDREQ.W         R3, [R8]                                               ; +0x2a, 0x5fe112\nMOVEQ           R2, R6                                                 ; +0x2e, 0x5fe116\nMOVNE           R2, R6                                                 ; +0x30, 0x5fe118\nMOVEQ           R0, R4                                                 ; +0x32, 0x5fe11a\nITETE EQ                                                               ; +0x34, 0x5fe11c\nMOVEQ           R1, R8                                                 ; +0x36, 0x5fe11e\nMOVNE           R0, R4                                                 ; +0x38, 0x5fe120\nLDREQ.W         R3, [R3,#-0xC]                                         ; +0x3a, 0x5fe122\nMOVNE           R1, R8                                                 ; +0x3e, 0x5fe126\nITE NE                                                                 ; +0x40, 0x5fe128\nSUBNE           R3, R5, R2                                             ; +0x42, 0x5fe12a\nSUBEQ           R3, R3, R2                                             ; +0x44, 0x5fe12c\nBL              sub_776158                                             ; +0x46, 0x5fe12e\nMOV             R1, R4                                                 ; +0x4a, 0x5fe132\nMOV             R0, R10                                                ; +0x4c, 0x5fe134\nBL              _ZNSt6vectorISsSaISsEE12emplace_backIJSsEEEvDpOT_; std::vector<std::string>::emplace_back<std::string>(std::string &&) ; +0x4e, 0x5fe136\nMOV             R0, R4                                                 ; +0x52, 0x5fe13a\nBL              sub_774008                                             ; +0x54, 0x5fe13c\nMOV             R0, R9; char *                                         ; +0x58, 0x5fe140\nBLX             strlen                                                 ; +0x5a, 0x5fe142\nADDS            R6, R0, R5                                             ; +0x5e, 0x5fe146\nADDS            R5, #1                                                 ; +0x60, 0x5fe148\nBNE             loc_5FE102                                             ; +0x62, 0x5fe14a\nLDR             R2, [SP,#8+var_4]                                      ; +0x64, 0x5fe14c\nLDR             R3, [R7]                                               ; +0x66, 0x5fe14e\nCMP             R2, R3                                                 ; +0x68, 0x5fe150\nBEQ             loc_5FE158                                             ; +0x6a, 0x5fe152\nBLX             __stack_chk_fail                                       ; +0x6c, 0x5fe154\nADD             SP, SP, #8                                             ; +0x70, 0x5fe158\nPOP.W           {R4-R10,PC}                                            ; +0x72, 0x5fe15a", "xrefs": ["DS_Dictionary::splitWithForm @ 0x5fe1e8"], "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"}