// // cocos2d::CCTMXTiledMap::layerNamed from 0x100519c70 to 0x100519d3d (205 bytes) // // 0 xrefs: // // 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 12:31:41 +0000 // void *__fastcall cocos2d::CCTMXTiledMap::layerNamed(__int64 a1, const char *a2) { __int64 v2; // rax unsigned int *v3; // rax const void **v4; // r13 const void **v5; // r14 void *v6; // rax void *v7; // r12 v2 = *(_QWORD *)(a1 + 208); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((const void ***)v3 + 2); v5 = &v4[*v3 - 1]; do { if ( !*v4 ) break; v6 = __dynamic_cast( *v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTMXLayer, 0); if ( v6 ) { v7 = v6; if ( (*((_BYTE *)v6 + 408) & 1) != 0 ) { if ( !strcmp(*((const char **)v6 + 53), a2) ) return v7; } else if ( !strcmp((const char *)v6 + 409, a2) ) { return v7; } } ++v4; } while ( v4 <= v5 ); } } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source