// // cocos2d::CCTMXObjectGroup::objectNamed from 0x1800ada00 to 0x1800adb8f (399 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b82bc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // 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 *i; // r14 __int64 v10; // rbp _QWORD *v11; // rdi void *v12; // rcx __int64 v13; // rax const void *v14; // rcx size_t v15; // r8 __int128 v17; // [rsp+20h] [rbp-48h] BYREF __int64 v18; // [rsp+30h] [rbp-38h] unsigned __int64 v19; // [rsp+38h] [rbp-30h] 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); for ( i = &v8[v7 - 1]; v8 <= i; ++v8 ) { v10 = *v8; if ( !*v8 ) break; v17 = 0; v18 = 4; v19 = 15; strcpy((char *)&v17, "name"); v11 = (_QWORD *)cocos2d::CCDictionary::objectForKey(v10, (unsigned __int8 *)&v17); if ( v19 > 0xF ) { v12 = (void *)v17; if ( v19 + 1 >= 0x1000 ) { v12 = *(void **)(v17 - 8); if ( (unsigned __int64)(v17 - (_QWORD)v12 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free_0(v12); } v18 = 0; v19 = 15; LOBYTE(v17) = 0; if ( v11 ) { v13 = -1; do ++v13; while ( a2[v13] ); v14 = v11 + 7; if ( v11[10] > 0xFu ) v14 = (const void *)v11[7]; v15 = v11[9]; if ( v15 == v13 && !memcmp(v14, a2, v15) ) return (struct cocos2d::CCDictionary *)v10; } } } } } } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source