// // cocos2d::CCTMXLayer::atlasIndexForNewZ from 0x10025b240 to 0x10025b275 (53 bytes) // // 0 xrefs: // // 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 // unsigned int __fastcall cocos2d::CCTMXLayer::atlasIndexForNewZ(cocos2d::CCTMXLayer *a1, int a2) { unsigned int *v2; // rax __int64 v3; // rcx __int64 v4; // rdx __int64 v5; // rax v2 = *(unsigned int **)&a1[1].m_obAnchorPoint.y; v3 = *v2; if ( *v2 ) { v4 = *((_QWORD *)v2 + 2); v5 = 0; while ( *(_DWORD *)(v4 + 8 * v5) <= a2 ) { if ( v3 == ++v5 ) { LODWORD(v5) = v3; return v5; } } } else { LODWORD(v5) = 0; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source