// // GameObject::addInternalChild from 0x1005bb3f0 to 0x1005bb47f (143 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( __int64 a1, const cocos2d::CCPoint *a2, __int64 a3, unsigned __int64 *a4, unsigned int a5) { const char *v8; // r12 cocos2d::CCSprite *v9; // r12 double v11; // [rsp+8h] [rbp-38h] BYREF unsigned __int64 v12[6]; // [rsp+10h] [rbp-30h] BYREF double v13; // 0:xmm0_8.8 *(cocos2d::CCPoint *)&v13 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, a2); if ( (*(_BYTE *)a3 & 1) != 0 ) v8 = *(const char **)(a3 + 16); else v8 = (const char *)(a3 + 1); v9 = cocos2d::CCSprite::createWithSpriteFrameName(v8); sub_10028CCE0(&v11, v12, a4); ((void (__fastcall *)(cocos2d::CCSprite *, double *, double))v9->setPosition)(v9, &v11, v13); (*(void (__fastcall **)(const cocos2d::CCPoint *, cocos2d::CCSprite *, _QWORD))(*(_QWORD *)a2 + 448LL))(a2, v9, a5); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source