{"type": "func", "start": 8439448, "end": 8439610, "name": "DS_Dictionary::getRectArrayForKey", "pseudocode": "// \n// DS_Dictionary::getRectArrayForKey from 0x80c698 to 0x80c73a (162 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::getRectArrayForKey(DS_Dictionary *this, const char *a2, const char *a3)\n{\n  unsigned int v4; // r5\n  int v6; // r2\n  cocos2d::CCRect *v7; // r0\n  unsigned int v8; // r3\n  int v9; // r2\n  int v10; // r3\n  _DWORD v12[3]; // [sp+0h] [bp-Ch] BYREF\n  _BYTE v13[16]; // [sp+Ch] [bp+0h] BYREF\n\n  v4 = 0;\n  DS_Dictionary::getStringArrayForKey((DS_Dictionary *)v12, a2, a3);\n  *(_DWORD *)this = 0;\n  *((_DWORD *)this + 1) = 0;\n  *((_DWORD *)this + 2) = 0;\n  while ( v4 < -1431655765 * ((v12[1] - v12[0]) >> 2) )\n  {\n    cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13);\n    v7 = *((cocos2d::CCRect **)this + 1);\n    v8 = *((_DWORD *)this + 2);\n    if ( (unsigned int)v7 >= v8 )\n    {\n      std::vector<cocos2d::CCRect>::__push_back_slow_path<cocos2d::CCRect>(\n        (cocos2d::CCRect **)this,\n        (const cocos2d::CCRect *)v13,\n        v6,\n        v8);\n    }\n    else\n    {\n      if ( v7 )\n        cocos2d::CCRect::CCRect(v7, (const cocos2d::CCRect *)v13);\n      *((_DWORD *)this + 1) += 16;\n    }\n    if ( !DS_Dictionary::rectFromString((int)a2, v12[0] + 12 * v4, (float *)(*((_DWORD *)this + 1) - 16)) )\n    {\n      v9 = *(_DWORD *)this;\n      while ( 1 )\n      {\n        v10 = *((_DWORD *)this + 1);\n        if ( v9 == v10 )\n          break;\n        *((_DWORD *)this + 1) = v10 - 16;\n      }\n      break;\n    }\n    ++v4;\n  }\n  std::__vector_base<std::string>::~__vector_base((int)v12);\n  return this;\n}", "assembly": "; \n; DS_Dictionary::getRectArrayForKey from 0x80c698 to 0x80c73a (162 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, 0x80c698\nSUB             SP, SP, #0x24                                          ; +0x4, 0x80c69c\nLDR             R6, =(__stack_chk_guard_ptr - 0x80C6AC)                ; +0x6, 0x80c69e\nADD             R7, SP, #0xC                                           ; +0x8, 0x80c6a0\nLDR.W           R9, =0xAAAAAAAB                                        ; +0xa, 0x80c6a2\nMOV             R4, R0                                                 ; +0xe, 0x80c6a6\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x10, 0x80c6a8\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x12, 0x80c6aa\nMOV             R0, SP; this                                           ; +0x14, 0x80c6ac\nMOV             R8, SP                                                 ; +0x16, 0x80c6ae\nMOV.W           R11, #0xC                                              ; +0x18, 0x80c6b0\nLDR             R3, [R6]                                               ; +0x1c, 0x80c6b4\nMOVS            R5, #0                                                 ; +0x1e, 0x80c6b6\nMOV             R10, R1                                                ; +0x20, 0x80c6b8\nSTR             R3, [SP,#0x24+var_8]                                   ; +0x22, 0x80c6ba\nBL              _ZN13DS_Dictionary20getStringArrayForKeyEPKc; DS_Dictionary::getStringArrayForKey(char const*) ; +0x24, 0x80c6bc\nSTR             R5, [R4]                                               ; +0x28, 0x80c6c0\nSTR             R5, [R4,#4]                                            ; +0x2a, 0x80c6c2\nSTR             R5, [R4,#8]                                            ; +0x2c, 0x80c6c4\nLDMFD.W         SP, {R2,R3}                                            ; +0x2e, 0x80c6c6\nSUBS            R3, R3, R2                                             ; +0x32, 0x80c6ca\nASRS            R3, R3, #2                                             ; +0x34, 0x80c6cc\nMUL             R3, R9, R3                                             ; +0x36, 0x80c6ce\nCMP             R5, R3                                                 ; +0x3a, 0x80c6d2\nBCS             loc_80C71C                                             ; +0x3c, 0x80c6d4\nMOV             R0, R7; this                                           ; +0x3e, 0x80c6d6\nBL              _ZN7cocos2d6CCRectC1Ev; cocos2d::CCRect::CCRect(void)  ; +0x40, 0x80c6d8\nLDR             R0, [R4,#4]; this                                      ; +0x44, 0x80c6dc\nLDR             R3, [R4,#8]                                            ; +0x46, 0x80c6de\nCMP             R0, R3                                                 ; +0x48, 0x80c6e0\nBCS             loc_80C6F4                                             ; +0x4a, 0x80c6e2\nCBZ             R0, loc_80C6EC                                         ; +0x4c, 0x80c6e4\nMOV             R1, R7; cocos2d::CCRect *                              ; +0x4e, 0x80c6e6\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x50, 0x80c6e8\nLDR             R3, [R4,#4]                                            ; +0x54, 0x80c6ec\nADDS            R3, #0x10                                              ; +0x56, 0x80c6ee\nSTR             R3, [R4,#4]                                            ; +0x58, 0x80c6f0\nB               loc_80C6FC                                             ; +0x5a, 0x80c6f2\nMOV             R0, R4                                                 ; +0x5c, 0x80c6f4\nMOV             R1, R7                                                 ; +0x5e, 0x80c6f6\nBL              _ZNSt6__ndk16vectorIN7cocos2d6CCRectENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_; std::vector<cocos2d::CCRect>::__push_back_slow_path<cocos2d::CCRect>(cocos2d::CCRect &&) ; +0x60, 0x80c6f8\nLDR             R1, [SP,#0x24+var_24]                                  ; +0x64, 0x80c6fc\nMOV             R0, R10                                                ; +0x66, 0x80c6fe\nLDR             R2, [R4,#4]                                            ; +0x68, 0x80c700\nMLA             R1, R11, R5, R1                                        ; +0x6a, 0x80c702\nSUBS            R2, #0x10                                              ; +0x6e, 0x80c706\nBL              _ZN13DS_Dictionary14rectFromStringERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERN7cocos2d6CCRectE; DS_Dictionary::rectFromString(std::string const&,cocos2d::CCRect &) ; +0x70, 0x80c708\nCBNZ            R0, loc_80C730                                         ; +0x74, 0x80c70c\nLDR             R2, [R4]                                               ; +0x76, 0x80c70e\nLDR             R3, [R4,#4]                                            ; +0x78, 0x80c710\nCMP             R2, R3                                                 ; +0x7a, 0x80c712\nBEQ             loc_80C71C                                             ; +0x7c, 0x80c714\nSUBS            R3, #0x10                                              ; +0x7e, 0x80c716\nSTR             R3, [R4,#4]                                            ; +0x80, 0x80c718\nB               loc_80C710                                             ; +0x82, 0x80c71a\nMOV             R0, R8                                                 ; +0x84, 0x80c71c\nBL              _ZNSt6__ndk113__vector_baseINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEED2Ev; std::__vector_base<std::string>::~__vector_base() ; +0x86, 0x80c71e\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x8a, 0x80c722\nLDR             R3, [R6]                                               ; +0x8c, 0x80c724\nMOV             R0, R4                                                 ; +0x8e, 0x80c726\nCMP             R2, R3                                                 ; +0x90, 0x80c728\nBEQ             loc_80C734                                             ; +0x92, 0x80c72a\nBLX             __stack_chk_fail                                       ; +0x94, 0x80c72c\nADDS            R5, #1                                                 ; +0x98, 0x80c730\nB               loc_80C6C6                                             ; +0x9a, 0x80c732\nADD             SP, SP, #0x24 ; '$'                                    ; +0x9c, 0x80c734\nPOP.W           {R4-R11,PC}                                            ; +0x9e, 0x80c736", "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"}