// // cocos2d::CCTMXObjectGroup::objectNamed from 0x1800b1250 to 0x1800b13cc (380 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c2580 // // This function is hookable on this platform (idp: pc, 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 11:22:19 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCDictionary *__fastcall cocos2d::CCTMXObjectGroup::objectNamed( cocos2d::CCTMXObjectGroup *this, const char *a2) { cocos2d::CCArray *v4; // rcx __int64 v5; // rax unsigned int *v6; // rbx __int64 v7; // rax __int64 *v8; // rbx __int64 *v9; // rbp __m128i si128; // xmm6 __int64 v11; // rsi __int64 v12; // rdi void *v13; // rcx size_t v14; // rax _QWORD *v15; // rcx size_t v16; // r8 _QWORD v18[2]; // [rsp+30h] [rbp-58h] BYREF __m128i v19; // [rsp+40h] [rbp-48h] v4 = *((cocos2d::CCArray **)this + 9); if ( v4 ) { if ( (unsigned int)cocos2d::CCArray::count(v4) ) { v5 = *((_QWORD *)this + 9); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((__int64 **)v6 + 2); v9 = &v8[v7 - 1]; if ( v8 <= v9 ) { si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500); do { v11 = *v8; if ( !*v8 ) break; sub_180005A10(v18, "name"); v12 = cocos2d::CCDictionary::objectForKey(v11, (__int64)v18); if ( v19.m128i_i64[1] > 0xFuLL ) { v13 = (void *)v18[0]; if ( (unsigned __int64)(v19.m128i_i64[1] + 1) >= 0x1000 ) { v13 = *(void **)(v18[0] - 8LL); if ( (unsigned __int64)(v18[0] - (_QWORD)v13 - 8LL) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v13); } v19 = si128; LOBYTE(v18[0]) = 0; if ( v12 ) { v14 = strlen(a2); v15 = (_QWORD *)(v12 + 56); if ( *(_QWORD *)(v12 + 80) > 0xFu ) v15 = (_QWORD *)*v15; v16 = *(_QWORD *)(v12 + 72); if ( v16 == v14 && (!v16 || !memcmp(v15, a2, v16)) ) return (struct cocos2d::CCDictionary *)v11; } ++v8; } while ( v8 <= v9 ); } } } } } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source