// // cocos2d::CCSprite::addChild from 0x18008e590 to 0x18008e670 (224 bytes) // // 9 xrefs: // > @ 0x1800f1b30 // > @ 0x1800f2018 // > @ 0x1800f2bc8 // > @ 0x18010a008 // > @ 0x18010d020 // > @ 0x180146698 // > @ 0x1801466a8 // > @ 0x18014cf68 // > @ 0x1801bfdc0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 11:22:07 +0000 // void __fastcall cocos2d::CCSprite::addChild( cocos2d::CCSprite *this, struct cocos2d::CCNode *a2, unsigned int a3, int a4) { struct cocos2d::CCSprite *v8; // rbx __int64 v9; // rax __int64 v10; // rax if ( *((_QWORD *)this + 46) ) { v8 = (struct cocos2d::CCSprite *)_RTDynamicCast( a2, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCSprite `RTTI Type Descriptor', 0); v9 = (*(__int64 (__fastcall **)(_QWORD *))(*((_QWORD *)v8 + 43) + 16LL))((_QWORD *)v8 + 43); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 96LL))(v9); v10 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 44) + 88LL))(*((_QWORD *)this + 44)); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10); cocos2d::CCSpriteBatchNode::appendChild(*((cocos2d::CCSpriteBatchNode **)this + 46), v8); if ( !*((_BYTE *)this + 288) ) (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)this + 1072LL))(this); } cocos2d::CCNode::addChild(this, a2, a3, a4); *((_BYTE *)this + 378) = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source