// // cocos2d::CCTMXTiledMap::layerNamed from 0xdad2f4 to 0xdad3b0 (188 bytes) // // 1 xrefs: // > @ 0x95a28 // // 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:36 +0000 // char *__fastcall cocos2d::CCTMXTiledMap::layerNamed(cocos2d::CCTMXTiledMap *this, const char *a2) { __int64 v2; // x0 unsigned int *v3; // x2 const void **v4; // x20 char *v5; // x19 const void **v6; // x21 const void *v7; // x0 const char *v9; // x0 v2 = *((_QWORD *)this + 26); if ( !v2 ) return nullptr; v3 = *(unsigned int **)(v2 + 56); if ( !*v3 ) return nullptr; v4 = *((const void ***)v3 + 2); v5 = nullptr; v6 = &v4[*v3 - 1]; if ( v4 <= v6 ) { v7 = *v4; if ( *v4 ) { while ( 1 ) { v5 = (char *)_dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTMXLayer, 0); v9 = v5 + 409; if ( v5 ) { if ( (v5[408] & 1) != 0 ) v9 = *((const char **)v5 + 53); if ( !strcmp(v9, a2) ) break; } if ( v6 >= ++v4 ) { v7 = *v4; if ( *v4 ) continue; } return nullptr; } } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source