{"type": "func", "start": 8439620, "end": 8439794, "name": "DS_Dictionary::vec2FromString", "pseudocode": "// \n// DS_Dictionary::vec2FromString from 0x80c744 to 0x80c7f2 (174 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::getVec2ArrayForKey @ 0x80c86a\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 12:01:32 +0000\n// \n\nint __fastcall DS_Dictionary::vec2FromString(int a1, int a2, float *a3)\n{\n  int v5; // r5\n  const char *v6; // r0\n  float v7; // s16\n  const char *v8; // r0\n  float v9; // s15\n  float v11[2]; // [sp+4h] [bp-24h] BYREF\n  unsigned __int8 *v12[3]; // [sp+Ch] [bp-1Ch] BYREF\n  int v13[3]; // [sp+18h] [bp-10h] BYREF\n\n  memset(v12, 0, sizeof(v12));\n  DS_Dictionary::cleanStringWhiteSpace(v13, a1, a2);\n  v5 = DS_Dictionary::splitWithForm(a1, (unsigned __int8 *)v13, v12);\n  std::string::~string((int)v13);\n  if ( v5 )\n  {\n    if ( (*v12[0] & 1) != 0 )\n      v6 = *((const char **)v12[0] + 2);\n    else\n      v6 = (const char *)(v12[0] + 1);\n    v7 = atof(v6);\n    if ( (v12[0][(unsigned int)&byte_9[3]] & 1) != 0 )\n      v8 = *((const char **)v12[0] + 5);\n    else\n      v8 = (const char *)(v12[0] + 13);\n    v9 = atof(v8);\n    cocos2d::CCPoint::CCPoint(v11, v7, v9);\n    cocos2d::CCPoint::operator=(a3, v11);\n  }\n  std::__vector_base<std::string>::~__vector_base((int)v12);\n  return v5;\n}", "assembly": "; \n; DS_Dictionary::vec2FromString from 0x80c744 to 0x80c7f2 (174 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::getVec2ArrayForKey @ 0x80c86a\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 12:01:32 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x80c744\nMOV             R6, R1                                                 ; +0x4, 0x80c748\nVPUSH           {D8}                                                   ; +0x6, 0x80c74a\nMOV             R5, R0                                                 ; +0xa, 0x80c74e\nLDR             R4, =(__stack_chk_guard_ptr - 0x80C75C)                ; +0xc, 0x80c750\nMOV             R7, R2                                                 ; +0xe, 0x80c752\nMOV             R2, R6                                                 ; +0x10, 0x80c754\nMOV             R1, R5                                                 ; +0x12, 0x80c756\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x14, 0x80c758\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x16, 0x80c75a\nSUB             SP, SP, #0x28                                          ; +0x18, 0x80c75c\nLDR             R3, [R4]                                               ; +0x1a, 0x80c75e\nADD.W           R8, SP, #0x28+var_10                                   ; +0x1c, 0x80c760\nADD             R6, SP, #0x28+var_1C                                   ; +0x20, 0x80c764\nMOV             R0, R8                                                 ; +0x22, 0x80c766\nSTR             R3, [SP,#0x28+var_4]                                   ; +0x24, 0x80c768\nMOVS            R3, #0                                                 ; +0x26, 0x80c76a\nSTR             R3, [SP,#0x28+var_1C]                                  ; +0x28, 0x80c76c\nSTR             R3, [SP,#0x28+var_18]                                  ; +0x2a, 0x80c76e\nSTR             R3, [SP,#0x28+var_14]                                  ; +0x2c, 0x80c770\nBL              _ZN13DS_Dictionary21cleanStringWhiteSpaceERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; DS_Dictionary::cleanStringWhiteSpace(std::string const&) ; +0x2e, 0x80c772\nMOV             R0, R5                                                 ; +0x32, 0x80c776\nMOV             R1, R8                                                 ; +0x34, 0x80c778\nMOV             R2, R6                                                 ; +0x36, 0x80c77a\nBL              _ZN13DS_Dictionary13splitWithFormERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERNS0_6vectorIS6_NS4_IS6_EEEE; DS_Dictionary::splitWithForm(std::string const&,std::vector<std::string> &) ; +0x38, 0x80c77c\nMOV             R5, R0                                                 ; +0x3c, 0x80c780\nMOV             R0, R8                                                 ; +0x3e, 0x80c782\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x40, 0x80c784\nCBZ             R5, loc_80C7D4                                         ; +0x44, 0x80c788\nLDR             R0, [SP,#0x28+var_1C]                                  ; +0x46, 0x80c78a\nADD.W           R8, SP, #0x28+var_24                                   ; +0x48, 0x80c78c\nLDRB            R3, [R0]                                               ; +0x4c, 0x80c790\nLSLS            R2, R3, #0x1F                                          ; +0x4e, 0x80c792\nITE PL                                                                 ; +0x50, 0x80c794\nADDPL           R0, #1                                                 ; +0x52, 0x80c796\nLDRMI           R0, [R0,#8]; char *                                    ; +0x54, 0x80c798\nBLX             atof                                                   ; +0x56, 0x80c79a\nVMOV            D7, R0, R1                                             ; +0x5a, 0x80c79e\nLDR             R0, [SP,#0x28+var_1C]                                  ; +0x5e, 0x80c7a2\nVCVT.F32.F64    S16, D7                                                ; +0x60, 0x80c7a4\nLDRB            R3, [R0,#(byte_9+3)]                                   ; +0x64, 0x80c7a8\nLSLS            R3, R3, #0x1F                                          ; +0x66, 0x80c7aa\nITE PL                                                                 ; +0x68, 0x80c7ac\nADDPL           R0, #0xD                                               ; +0x6a, 0x80c7ae\nLDRMI           R0, [R0,#0x14]; char *                                 ; +0x6c, 0x80c7b0\nBLX             atof                                                   ; +0x6e, 0x80c7b2\nVMOV            D7, R0, R1                                             ; +0x72, 0x80c7b6\nMOV             R0, R8; this                                           ; +0x76, 0x80c7ba\nVCVT.F32.F64    S15, D7                                                ; +0x78, 0x80c7bc\nVMOV            R1, S16; float                                         ; +0x7c, 0x80c7c0\nVMOV            R2, S15; float                                         ; +0x80, 0x80c7c4\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x84, 0x80c7c8\nMOV             R0, R7                                                 ; +0x88, 0x80c7cc\nMOV             R1, R8                                                 ; +0x8a, 0x80c7ce\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x8c, 0x80c7d0\nMOV             R0, R6                                                 ; +0x90, 0x80c7d4\nBL              _ZNSt6__ndk113__vector_baseINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEED2Ev; std::__vector_base<std::string>::~__vector_base() ; +0x92, 0x80c7d6\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x96, 0x80c7da\nLDR             R3, [R4]                                               ; +0x98, 0x80c7dc\nMOV             R0, R5                                                 ; +0x9a, 0x80c7de\nCMP             R2, R3                                                 ; +0x9c, 0x80c7e0\nBEQ             loc_80C7E8                                             ; +0x9e, 0x80c7e2\nBLX             __stack_chk_fail                                       ; +0xa0, 0x80c7e4\nADD             SP, SP, #0x28 ; '('                                    ; +0xa4, 0x80c7e8\nVPOP            {D8}                                                   ; +0xa6, 0x80c7ea\nPOP.W           {R4-R8,PC}                                             ; +0xaa, 0x80c7ee", "xrefs": ["DS_Dictionary::getVec2ArrayForKey @ 0x80c86a"], "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"}