// // cocos2d::CCParallaxNode::addChild from 0x803700 to 0x80381c (284 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::addChild( cocos2d::CCParallaxNode *this, cocos2d::CCNode *a2, int a3, const cocos2d::CCPoint *a4, const cocos2d::CCPoint *a5) { float *v8; // r4 int v9; // r3 float v10; // s14 int v11; // r0 _DWORD v14[2]; // [sp+14h] [bp-18h] BYREF _DWORD v15[2]; // [sp+1Ch] [bp-10h] BYREF float v16[2]; // [sp+24h] [bp-8h] BYREF float v17; // [sp+2Ch] [bp+0h] BYREF float v18; // [sp+30h] [bp+4h] cocos2d::CCPoint::CCPoint(v14, a4); cocos2d::CCPoint::CCPoint(v15, a5); v8 = (float *)operator new(0x48u); memset(v8, 0, 0x48u); cocos2d::CCObject::CCObject(v8); *(_DWORD *)v8 = &off_D120D0; cocos2d::CCPoint::CCPoint((_DWORD *)v8 + 13); cocos2d::CCPoint::CCPoint((_DWORD *)v8 + 15); cocos2d::CCPoint::CCPoint(&v17, (const cocos2d::CCPoint *)v14); cocos2d::CCPoint::CCPoint(v16, (const cocos2d::CCPoint *)v15); cocos2d::CCPoint::operator=(v8 + 13, &v17); cocos2d::CCPoint::operator=(v8 + 15, v16); v8[17] = 0.0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); *((_DWORD *)v8 + 17) = a2; cocos2d::ccArrayAppendObjectWithResize(*((_DWORD **)this + 66), (cocos2d::CCObject *)v8); cocos2d::CCPoint::CCPoint(&v17, (cocos2d::CCParallaxNode *)((char *)this + 72)); v9 = *(_DWORD *)a2; v10 = *((float *)a4 + 1); v17 = *(float *)a5 + (float)(v17 * *(float *)a4); v18 = *((float *)a5 + 1) + (float)(v18 * v10); (*(void (__fastcall **)(cocos2d::CCNode *, float *))(v9 + 92))(a2, &v17); v11 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 32))(a2); return cocos2d::CCNode::addChild(this, a2, a3, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source