{"type": "func", "start": 6285576, "end": 6285726, "name": "DS_Dictionary::vec2FromString", "pseudocode": "// \n// DS_Dictionary::vec2FromString from 0x5fe908 to 0x5fe99e (150 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::getVec2ArrayForKey @ 0x5fea6e\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 __fastcall DS_Dictionary::vec2FromString(DS_Dictionary *a1, int a2, cocos2d::CCPoint *a3)\n{\n  _BOOL4 v5; // r6\n  double v6; // d8\n  float v7; // s15\n  float v8; // s14\n  int v9; // r2\n  bool v10; // r3\n  cocos2d::CCPoint v12; // [sp+0h] [bp-8h] BYREF\n  std::vector<std::string> v13; // [sp+8h] [bp+0h] BYREF\n\n  memset(&v13, 0, sizeof(v13));\n  DS_Dictionary::cleanStringWhiteSpace((int)&v12);\n  v5 = DS_Dictionary::splitWithForm(a1, (std::string *const)&v12, &v13);\n  sub_774008(&v12);\n  if ( v5 )\n  {\n    v6 = atof((const char *)v13.m_start->m_data.m_data);\n    v7 = atof(*(const char **)((char *)&v13.m_start->m_data.m_data + (unsigned int)byte_4));\n    v8 = v6;\n    cocos2d::CCPoint::CCPoint(&v12, v8, v7);\n    cocos2d::CCPoint::operator=(a3, &v12.x, v9, v10);\n  }\n  std::vector<std::string>::~vector((void **)&v13.m_start);\n  return v5;\n}", "assembly": "; \n; DS_Dictionary::vec2FromString from 0x5fe908 to 0x5fe99e (150 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::getVec2ArrayForKey @ 0x5fea6e\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          {R4-R8,LR}                                             ; +0x0, 0x5fe908\nMOV             R7, R1                                                 ; +0x4, 0x5fe90c\nVPUSH           {D8}                                                   ; +0x6, 0x5fe90e\nMOV             R6, R0                                                 ; +0xa, 0x5fe912\nLDR             R4, =(__stack_chk_guard_ptr - 0x5FE920)                ; +0xc, 0x5fe914\nMOV             R8, R2                                                 ; +0xe, 0x5fe916\nMOV             R2, R7                                                 ; +0x10, 0x5fe918\nMOV             R1, R6                                                 ; +0x12, 0x5fe91a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x14, 0x5fe91c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x16, 0x5fe91e\nSUB             SP, SP, #0x18                                          ; +0x18, 0x5fe920\nLDR             R3, [R4]                                               ; +0x1a, 0x5fe922\nADD             R7, SP, #8                                             ; +0x1c, 0x5fe924\nMOV             R0, SP                                                 ; +0x1e, 0x5fe926\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x20, 0x5fe928\nMOVS            R3, #0                                                 ; +0x22, 0x5fe92a\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x24, 0x5fe92c\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x26, 0x5fe92e\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x28, 0x5fe930\nBL              _ZN13DS_Dictionary21cleanStringWhiteSpaceERKSs; DS_Dictionary::cleanStringWhiteSpace(std::string const&) ; +0x2a, 0x5fe932\nMOV             R0, R6                                                 ; +0x2e, 0x5fe936\nMOV             R1, SP                                                 ; +0x30, 0x5fe938\nMOV             R2, R7                                                 ; +0x32, 0x5fe93a\nBL              _ZN13DS_Dictionary13splitWithFormERKSsRSt6vectorISsSaISsEE; DS_Dictionary::splitWithForm(std::string const&,std::vector<std::string> &) ; +0x34, 0x5fe93c\nMOV             R6, R0                                                 ; +0x38, 0x5fe940\nMOV             R0, SP                                                 ; +0x3a, 0x5fe942\nBL              sub_774008                                             ; +0x3c, 0x5fe944\nCBZ             R6, loc_5FE980                                         ; +0x40, 0x5fe948\nLDR             R3, [SP,#0x18+var_10]                                  ; +0x42, 0x5fe94a\nLDR             R0, [R3]; char *                                       ; +0x44, 0x5fe94c\nBLX             atof                                                   ; +0x46, 0x5fe94e\nLDR             R3, [SP,#0x18+var_10]                                  ; +0x4a, 0x5fe952\nVMOV            D8, R0, R1                                             ; +0x4c, 0x5fe954\nLDR             R0, [R3,#byte_4]; char *                               ; +0x50, 0x5fe958\nBLX             atof                                                   ; +0x52, 0x5fe95a\nVMOV            D7, R0, R1                                             ; +0x56, 0x5fe95e\nMOV             R0, SP; this                                           ; +0x5a, 0x5fe962\nVCVT.F32.F64    S15, D7                                                ; +0x5c, 0x5fe964\nVCVT.F32.F64    S14, D8                                                ; +0x60, 0x5fe968\nVMOV            R2, S15; float                                         ; +0x64, 0x5fe96c\nVMOV            R1, S14; float                                         ; +0x68, 0x5fe970\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6c, 0x5fe974\nMOV             R0, R8                                                 ; +0x70, 0x5fe978\nMOV             R1, SP                                                 ; +0x72, 0x5fe97a\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x74, 0x5fe97c\nMOV             R0, R7                                                 ; +0x78, 0x5fe980\nBL              _ZNSt6vectorISsSaISsEED2Ev; std::vector<std::string>::~vector() ; +0x7a, 0x5fe982\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x7e, 0x5fe986\nLDR             R3, [R4]                                               ; +0x80, 0x5fe988\nMOV             R0, R6                                                 ; +0x82, 0x5fe98a\nCMP             R2, R3                                                 ; +0x84, 0x5fe98c\nBEQ             loc_5FE994                                             ; +0x86, 0x5fe98e\nBLX             __stack_chk_fail                                       ; +0x88, 0x5fe990\nADD             SP, SP, #0x18                                          ; +0x8c, 0x5fe994\nVPOP            {D8}                                                   ; +0x8e, 0x5fe996\nPOP.W           {R4-R8,PC}                                             ; +0x92, 0x5fe99a", "xrefs": ["DS_Dictionary::getVec2ArrayForKey @ 0x5fea6e"], "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"}