// // cocos2d::CCParallaxNode::visit from 0x1800aad80 to 0x1800aaf49 (457 bytes) // // 5 xrefs: // > @ 0x180105490 // > @ 0x180140280 // > @ 0x1801402bc // > @ 0x1801438a8 // > @ 0x1801b7fd4 // // 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 __fastcall cocos2d::CCParallaxNode::visit(cocos2d::CCParallaxNode *this) { cocos2d::CCParallaxNode *v2; // rbx float *v3; // rax __int64 v4; // rax __int64 i; // rbp __int64 v6; // rsi float v7; // xmm6_4 __int64 *v8; // rbx __int64 v9; // rdi float *v10; // rax _DWORD v11[2]; // [rsp+20h] [rbp-58h] BYREF float v12; // [rsp+28h] [rbp-50h] BYREF cocos2d::CCSize v13; // [rsp+80h] [rbp+8h] BYREF float v14; // [rsp+88h] [rbp+10h] BYREF float v15; // [rsp+90h] [rbp+18h] BYREF int v16; // [rsp+98h] [rbp+20h] BYREF float v17; // [rsp+9Ch] [rbp+24h] cocos2d::cc_timeval::operator=(&v13, &this->m_obPosition); v2 = this; while ( ((__int64 (__fastcall *)(cocos2d::CCParallaxNode *))v2->getParent)(v2) ) { v2 = (cocos2d::CCParallaxNode *)((__int64 (__fastcall *)(cocos2d::CCParallaxNode *))v2->getParent)(v2); v3 = (float *)((__int64 (__fastcall *)(cocos2d::CCParallaxNode *))v2->getPosition_0)(v2); cocos2d::CCSize::operator+((float *)&v13, &v14, v3); cocos2d::CCSize::operator=(&v13, &v14); } if ( !cocos2d::CCSize::equals(&v13, (const struct cocos2d::CCSize *)this + 41) ) { v4 = *((_QWORD *)this + 40); for ( i = 0; (unsigned int)i < *(_DWORD *)v4; i = (unsigned int)(i + 1) ) { v6 = *(_QWORD *)(*(_QWORD *)(v4 + 16) + 8 * i); cocos2d::cc_timeval::operator=(&v14, (_DWORD *)(v6 + 56)); cocos2d::cc_timeval::operator=(&v15, (_DWORD *)(v6 + 64)); v7 = (float)((float)(v14 * v13.width) - v13.width) + v15; cocos2d::cc_timeval::operator=(&v16, (_DWORD *)(v6 + 56)); cocos2d::cc_timeval::operator=(v11, (_DWORD *)(v6 + 64)); v8 = *(__int64 **)(v6 + 72); v9 = *v8; v10 = kmVec2Fill(&v12, v7, (float)((float)(v17 * v13.height) - v13.height) + *(float *)&v11[1]); (*(void (__fastcall **)(__int64 *, float *))(v9 + 184))(v8, v10); v4 = *((_QWORD *)this + 40); } cocos2d::CCSize::operator=((_DWORD *)this + 82, &v13); } cocos2d::CCNode::visit(this); }