// // cocos2d::CCTMXObjectGroup::objectNamed from 0x804df8 to 0x804ec4 (204 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:23 +0000 // int __fastcall cocos2d::CCTMXObjectGroup::objectNamed(cocos2d::CCTMXObjectGroup *this, const char *a2) { cocos2d::CCArray *v3; // r0 int v5; // r3 _DWORD *v6; // r3 int *v7; // r6 int v9; // r5 int v10; // t1 int v11; // r4 size_t v12; // r0 unsigned int v13; // r1 size_t v14; // r2 const void *v15; // r0 int *v16; // [sp+4h] [bp-18h] int v17[2]; // [sp+8h] [bp-14h] BYREF void *v18; // [sp+10h] [bp-Ch] v3 = *((cocos2d::CCArray **)this + 16); if ( v3 ) { if ( cocos2d::CCArray::count(v3) ) { v5 = *((_DWORD *)this + 16); if ( v5 ) { v6 = *(_DWORD **)(v5 + 52); if ( *v6 ) { v7 = (int *)v6[3]; v16 = &v7[*v6 - 1]; while ( 1 ) { while ( 1 ) { do { if ( v7 > v16 ) return 0; v10 = *v7++; v9 = v10; if ( !v10 ) return 0; v17[0] = 0; v17[1] = 0; v18 = nullptr; std::string::__init(v17, "name", 4u); v11 = cocos2d::CCDictionary::objectForKey(v9, (int)v17); if ( (v17[0] & 1) != 0 ) operator delete(v18); } while ( !v11 ); v12 = strlen(a2); v13 = *(unsigned __int8 *)(v11 + 52); v14 = v12; if ( (v13 & 1) == 0 ) break; if ( v12 == *(_DWORD *)(v11 + 56) ) { v15 = *(const void **)(v11 + 60); goto LABEL_17; } } if ( v12 == v13 >> 1 ) { v15 = (const void *)(v11 + 53); LABEL_17: if ( !v14 || !memcmp(v15, a2, v14) ) return v9; } } } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source