// // DS_Dictionary::getRectArrayForKey from 0xdb923c to 0xdb93e8 (428 bytes) // // 1 xrefs: // > @ 0x9ee78 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:08:43 +0000 // __int64 __usercall DS_Dictionary::getRectArrayForKey@( DS_Dictionary *this@, const char *a2@, __int64 a3@) { int v4; // w24 char *v5; // x20 char *v6; // x0 __int64 v7; // x20 unsigned __int64 v8; // x21 cocos2d::CCRect *v9; // x0 void *v10; // x1 __int64 v11; // x1 char *v12; // x26 char *v13; // x0 _BYTE v15[16]; // [xsp+50h] [xbp+50h] BYREF void *v16; // [xsp+60h] [xbp+60h] BYREF char *v17; // [xsp+68h] [xbp+68h] v4 = (int)this; DS_Dictionary::getStringArrayForKey(this, a2, &v16); v5 = v17; v6 = (char *)v16; *(_QWORD *)a3 = 0; *(_QWORD *)(a3 + 8) = 0; *(_QWORD *)(a3 + 16) = 0; if ( !(0xAAAAAAAAAAAAAAABLL * ((v5 - v6) >> 3)) ) { v12 = v6; goto LABEL_12; } v7 = 0; v8 = 0; while ( 1 ) { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15); v9 = *(cocos2d::CCRect **)(a3 + 8); if ( (unsigned __int64)v9 < *(_QWORD *)(a3 + 16) ) break; std::vector::__push_back_slow_path( (cocos2d::CCRect **)a3, (const cocos2d::CCRect *)v15); if ( !DS_Dictionary::rectFromString(v4, (__int64)v16 + v7, (float *)(*(_QWORD *)(a3 + 8) - 16LL)) ) goto LABEL_9; LABEL_6: ++v8; v7 += 24; if ( 0xAAAAAAAAAAAAAAABLL * ((v17 - (_BYTE *)v16) >> 3) <= v8 ) { v12 = (char *)v16; goto LABEL_12; } } if ( v9 ) { cocos2d::CCRect::CCRect(v9, (const cocos2d::CCRect *)v15); v9 = *(cocos2d::CCRect **)(a3 + 8); } v10 = v16; *(_QWORD *)(a3 + 8) = (char *)v9 + 16; if ( DS_Dictionary::rectFromString(v4, (__int64)v10 + v7, (float *)v9) ) goto LABEL_6; LABEL_9: v11 = *(_QWORD *)(a3 + 8); if ( *(_QWORD *)a3 != v11 ) *(_QWORD *)(a3 + 8) = v11 + 16 * ~((unsigned __int64)(v11 - 16 - *(_QWORD *)a3) >> 4); v12 = (char *)v16; LABEL_12: if ( v12 ) { v13 = v17; if ( v12 != v17 ) { do { v17 = v13 - 24; std::string::~string((__int64)(v13 - 24)); v13 = v17; } while ( v17 != v12 ); v13 = (char *)v16; } operator delete(v13); } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source