{"type": "func", "start": 8439800, "end": 8439964, "name": "DS_Dictionary::getVec2ArrayForKey", "pseudocode": "// \n// DS_Dictionary::getVec2ArrayForKey from 0x80c7f8 to 0x80c89c (164 bytes)\n// \n// 0 xrefs:\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\nDS_Dictionary *__fastcall DS_Dictionary::getVec2ArrayForKey(DS_Dictionary *this, const char *a2, const char *a3)\n{\n  unsigned int v4; // r5\n  _DWORD *v6; // r0\n  int v7; // r2\n  int v8; // r3\n  _DWORD v10[2]; // [sp+0h] [bp+0h] BYREF\n  _DWORD v11[3]; // [sp+8h] [bp+8h] BYREF\n\n  v4 = 0;\n  DS_Dictionary::getStringArrayForKey((DS_Dictionary *)v11, a2, a3);\n  *(_DWORD *)this = 0;\n  *((_DWORD *)this + 1) = 0;\n  *((_DWORD *)this + 2) = 0;\n  while ( v4 < -1431655765 * ((v11[1] - v11[0]) >> 2) )\n  {\n    cocos2d::CCPoint::CCPoint(v10);\n    v6 = *((_DWORD **)this + 1);\n    if ( (unsigned int)v6 >= *((_DWORD *)this + 2) )\n    {\n      std::vector<cocos2d::CCPoint>::__push_back_slow_path<cocos2d::CCPoint>((int)this, (const cocos2d::CCPoint *)v10);\n    }\n    else\n    {\n      if ( v6 )\n        cocos2d::CCPoint::CCPoint(v6, (const cocos2d::CCPoint *)v10);\n      *((_DWORD *)this + 1) += 8;\n    }\n    if ( !DS_Dictionary::vec2FromString((int)a2, v11[0] + 12 * v4, (float *)(*((_DWORD *)this + 1) - 8)) )\n    {\n      v7 = *(_DWORD *)this;\n      while ( 1 )\n      {\n        v8 = *((_DWORD *)this + 1);\n        if ( v7 == v8 )\n          break;\n        *((_DWORD *)this + 1) = v8 - 8;\n      }\n      break;\n    }\n    ++v4;\n  }\n  std::__vector_base<std::string>::~__vector_base((int)v11);\n  return this;\n}", "assembly": "; \n; DS_Dictionary::getVec2ArrayForKey from 0x80c7f8 to 0x80c89c (164 bytes)\n; \n; 0 xrefs:\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-R11,LR}                                            ; +0x0, 0x80c7f8\nSUB             SP, SP, #0x1C                                          ; +0x4, 0x80c7fc\nLDR             R6, =(__stack_chk_guard_ptr - 0x80C80E)                ; +0x6, 0x80c7fe\nADD.W           R8, SP, #0x1C+var_14                                   ; +0x8, 0x80c800\nLDR.W           R9, =0xAAAAAAAB                                        ; +0xc, 0x80c804\nMOV             R4, R0                                                 ; +0x10, 0x80c808\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x12, 0x80c80a\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x14, 0x80c80c\nMOV             R0, R8; this                                           ; +0x16, 0x80c80e\nMOV             R7, SP                                                 ; +0x18, 0x80c810\nMOV.W           R11, #0xC                                              ; +0x1a, 0x80c812\nLDR             R3, [R6]                                               ; +0x1e, 0x80c816\nMOVS            R5, #0                                                 ; +0x20, 0x80c818\nMOV             R10, R1                                                ; +0x22, 0x80c81a\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x24, 0x80c81c\nBL              _ZN13DS_Dictionary20getStringArrayForKeyEPKc; DS_Dictionary::getStringArrayForKey(char const*) ; +0x26, 0x80c81e\nSTR             R5, [R4]                                               ; +0x2a, 0x80c822\nSTR             R5, [R4,#4]                                            ; +0x2c, 0x80c824\nSTR             R5, [R4,#8]                                            ; +0x2e, 0x80c826\nLDR             R2, [SP,#0x1C+var_14]                                  ; +0x30, 0x80c828\nLDR             R3, [SP,#0x1C+var_10]                                  ; +0x32, 0x80c82a\nSUBS            R3, R3, R2                                             ; +0x34, 0x80c82c\nASRS            R3, R3, #2                                             ; +0x36, 0x80c82e\nMUL             R3, R9, R3                                             ; +0x38, 0x80c830\nCMP             R5, R3                                                 ; +0x3c, 0x80c834\nBCS             loc_80C87E                                             ; +0x3e, 0x80c836\nMOV             R0, R7; this                                           ; +0x40, 0x80c838\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x42, 0x80c83a\nLDR             R0, [R4,#4]; this                                      ; +0x46, 0x80c83e\nLDR             R3, [R4,#8]                                            ; +0x48, 0x80c840\nCMP             R0, R3                                                 ; +0x4a, 0x80c842\nBCS             loc_80C856                                             ; +0x4c, 0x80c844\nCBZ             R0, loc_80C84E                                         ; +0x4e, 0x80c846\nMOV             R1, R7; cocos2d::CCPoint *                             ; +0x50, 0x80c848\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x52, 0x80c84a\nLDR             R3, [R4,#4]                                            ; +0x56, 0x80c84e\nADDS            R3, #8                                                 ; +0x58, 0x80c850\nSTR             R3, [R4,#4]                                            ; +0x5a, 0x80c852\nB               loc_80C85E                                             ; +0x5c, 0x80c854\nMOV             R0, R4                                                 ; +0x5e, 0x80c856\nMOV             R1, R7                                                 ; +0x60, 0x80c858\nBL              _ZNSt6__ndk16vectorIN7cocos2d7CCPointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_; std::vector<cocos2d::CCPoint>::__push_back_slow_path<cocos2d::CCPoint>(cocos2d::CCPoint &&) ; +0x62, 0x80c85a\nLDR             R1, [SP,#0x1C+var_14]                                  ; +0x66, 0x80c85e\nMOV             R0, R10                                                ; +0x68, 0x80c860\nLDR             R2, [R4,#4]                                            ; +0x6a, 0x80c862\nMLA             R1, R11, R5, R1                                        ; +0x6c, 0x80c864\nSUBS            R2, #8                                                 ; +0x70, 0x80c868\nBL              _ZN13DS_Dictionary14vec2FromStringERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERN7cocos2d7CCPointE; DS_Dictionary::vec2FromString(std::string const&,cocos2d::CCPoint &) ; +0x72, 0x80c86a\nCBNZ            R0, loc_80C892                                         ; +0x76, 0x80c86e\nLDR             R2, [R4]                                               ; +0x78, 0x80c870\nLDR             R3, [R4,#4]                                            ; +0x7a, 0x80c872\nCMP             R2, R3                                                 ; +0x7c, 0x80c874\nBEQ             loc_80C87E                                             ; +0x7e, 0x80c876\nSUBS            R3, #8                                                 ; +0x80, 0x80c878\nSTR             R3, [R4,#4]                                            ; +0x82, 0x80c87a\nB               loc_80C872                                             ; +0x84, 0x80c87c\nMOV             R0, R8                                                 ; +0x86, 0x80c87e\nBL              _ZNSt6__ndk113__vector_baseINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEED2Ev; std::__vector_base<std::string>::~__vector_base() ; +0x88, 0x80c880\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x8c, 0x80c884\nLDR             R3, [R6]                                               ; +0x8e, 0x80c886\nMOV             R0, R4                                                 ; +0x90, 0x80c888\nCMP             R2, R3                                                 ; +0x92, 0x80c88a\nBEQ             loc_80C896                                             ; +0x94, 0x80c88c\nBLX             __stack_chk_fail                                       ; +0x96, 0x80c88e\nADDS            R5, #1                                                 ; +0x9a, 0x80c892\nB               loc_80C828                                             ; +0x9c, 0x80c894\nADD             SP, SP, #0x1C                                          ; +0x9e, 0x80c896\nPOP.W           {R4-R11,PC}                                            ; +0xa0, 0x80c898", "xrefs": [], "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"}