// // cocos2d::CCParallaxNode::visit from 0x803968 to 0x803a5c (244 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:22 +0000 // int __fastcall cocos2d::CCParallaxNode::visit(cocos2d::CCParallaxNode *this) { float *v2; // r10 unsigned int v3; // r4 unsigned int *v4; // r3 float v5; // s17 _DWORD *v6; // r9 float v7; // s16 float v8; // s18 float v9; // s16 float v10; // s17 int v11; // r9 cocos2d::CCPoint *v13; // [sp+0h] [bp-2Ch] float v14; // [sp+Ch] [bp-20h] BYREF float v15; // [sp+10h] [bp-1Ch] float v16[2]; // [sp+14h] [bp-18h] BYREF float v17[2]; // [sp+1Ch] [bp-10h] BYREF v2 = (float *)((char *)this + 268); cocos2d::CCParallaxNode::absolutePosition((cocos2d::CCParallaxNode *)&v14, (int)this); if ( !cocos2d::CCPoint::equals((cocos2d::CCPoint *)&v14, (const cocos2d::CCPoint *)v2) ) { v3 = 0; while ( 1 ) { v4 = *((unsigned int **)this + 66); if ( v3 >= *v4 ) break; v5 = v14; v6 = *(_DWORD **)(v4[3] + 4 * v3++); cocos2d::CCPoint::CCPoint(v16, (const cocos2d::CCPoint *)(v6 + 13)); v7 = (float)(v5 * v16[0]) - v14; cocos2d::CCPoint::CCPoint(v17, (const cocos2d::CCPoint *)(v6 + 15)); v8 = v15; v9 = v7 + v17[0]; cocos2d::CCPoint::CCPoint(v16, (const cocos2d::CCPoint *)(v6 + 13)); v10 = (float)(v8 * v16[1]) - v15; cocos2d::CCPoint::CCPoint(v17, (const cocos2d::CCPoint *)(v6 + 15)); v11 = v6[17]; v13 = *(cocos2d::CCPoint **)(*(_DWORD *)v11 + 92); cocos2d::CCPoint::CCPoint(v17, v9, v10 + v17[1]); ((void (__fastcall *)(int, float *))v13)(v11, v17); } cocos2d::CCPoint::operator=(v2, &v14); } return cocos2d::CCNode::visit((int)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source