// // GameObject::addInternalChild from 0x3549b4 to 0x354a1a (102 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 // cocos2d::CCSprite *__fastcall GameObject::addInternalChild( int a1, cocos2d::CCNode *a2, const char **a3, int a4, int a5) { cocos2d::CCSprite *v8; // r5 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCPoint v11; // [sp+4h] [bp-8h] BYREF _BYTE v12[8]; // [sp+Ch] [bp+0h] BYREF cocos2d::CCNode::convertToNodeSpace(&v11, a2, &stru_AC5CA0); v8 = cocos2d::CCSprite::createWithSpriteFrameName(*a3); setPosition = v8->setPosition; cocos2d::CCPoint::operator+(v12, &v11, a4); setPosition(v8, (const cocos2d::CCPoint *)v12); a2->addChild_0(a2, v8, a5); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source