// // TextGameObject::create from 0x1402a4440 to 0x1402a451a (218 bytes) // // 3 xrefs: // > EditorUI::getCreateBtn @ 0x1401f145a // > GameObject::createWithKey @ 0x140288b9d // > @ 0x14091da68 // // 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:29:16 +0000 // // Hidden C++ exception states: #wind=1 _QWORD *__fastcall TextGameObject::create(struct cocos2d::CCTexture2D *a1) { _QWORD *v2; // rdi v2 = operator new(0x578u); GameObject::GameObject((__int64)v2); *v2 = &TextGameObject::`vftable'; v2[40] = &TextGameObject::`vftable'; v2[43] = &TextGameObject::`vftable'; *((_OWORD *)v2 + 85) = 0; v2[172] = 0; v2[173] = 15; *((_BYTE *)v2 + 1360) = 0; *((_DWORD *)v2 + 348) = 0; *((_DWORD *)v2 + 7) = 13; if ( cocos2d::CCSprite::initWithTexture((cocos2d::CCSprite *)v2, a1, (const struct cocos2d::CCRect *)&unk_140909B08) ) { GameObject::commonSetup((__int64)v2); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); return v2; } else { (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source