// // GJRotationControl::init from 0x3867c8 to 0x386844 (124 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 // bool GJRotationControl::init(GJRotationControl *a1) { _BOOL4 v2; // r6 int v3; // r2 bool v4; // r3 cocos2d::CCSprite *v5; // r0 GJRotationControl_vtbl *v6; // r3 cocos2d::CCPoint v8; // [sp+4h] [bp-10h] BYREF v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { a1->setTouchEnabled(a1, 1); cocos2d::CCPoint::CCPoint(&v8, 60.0, 0.0); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_controlPosition, COERCE_FLOAT(&v8), v3, v4); a1->setAnchorPoint(a1, (const cocos2d::CCPoint *)&flt_AC5D38); v5 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_rotationControlBtn01_001.png"); v6 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_controlSprite = v5; v6->addChild_0(a1, v5, 1); GJRotationControl::setAngle(a1, 0.0); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source