// // cocos2d::CCParallaxNode::visit from 0x5f6df8 to 0x5f6eec (244 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 // void cocos2d::CCParallaxNode::visit(cocos2d::CCParallaxNode *a1) { cocos2d::CCPoint *p_m_uID; // r10 unsigned int v3; // r4 int *v4; // r3 float x; // s17 int v6; // r9 float v7; // s16 float y; // s18 float v9; // s16 float v10; // s17 int v11; // r9 cocos2d::CCPoint *v12; // [sp+0h] [bp-2Ch] cocos2d::CCPoint v13; // [sp+Ch] [bp-20h] BYREF cocos2d::CCPoint v14; // [sp+14h] [bp-18h] BYREF cocos2d::CCPoint v15; // [sp+1Ch] [bp-10h] BYREF p_m_uID = (cocos2d::CCPoint *)&a1[1].m_uID; cocos2d::CCParallaxNode::absolutePosition(&v13, a1); if ( !cocos2d::CCPoint::equals(&v13, p_m_uID) ) { v3 = 0; while ( 1 ) { v4 = (int *)a1[1].__vftable; if ( v3 >= *v4 ) break; x = v13.x; v6 = *(_DWORD *)(v4[3] + 4 * v3++); cocos2d::CCPoint::CCPoint(&v14, (const cocos2d::CCPoint *)(v6 + 52)); v7 = (float)(x * v14.x) - v13.x; cocos2d::CCPoint::CCPoint(&v15, (const cocos2d::CCPoint *)(v6 + 60)); y = v13.y; v9 = v7 + v15.x; cocos2d::CCPoint::CCPoint(&v14, (const cocos2d::CCPoint *)(v6 + 52)); v10 = (float)(y * v14.y) - v13.y; cocos2d::CCPoint::CCPoint(&v15, (const cocos2d::CCPoint *)(v6 + 60)); v11 = *(_DWORD *)(v6 + 68); v12 = *(cocos2d::CCPoint **)(*(_DWORD *)v11 + 92); cocos2d::CCPoint::CCPoint(&v15, v9, v10 + v15.y); ((void (__fastcall *)(int, cocos2d::CCPoint *))v12)(v11, &v15); } cocos2d::CCPoint::operator=(p_m_uID, &v13.x, *v4, (bool)v4); } cocos2d::CCNode::visit(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source