// // EnhancedGameObject::create from 0x1005a1e90 to 0x1005a1f9e (270 bytes) // // 1 xrefs: // > GameObject::createWithKey @ 0x10059d4b0 // // 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 // EnhancedGameObject *__fastcall EnhancedGameObject::create(const char *a1) { char *v1; // rbx v1 = (char *)operator new(0x5A8u); GameObject::GameObject((GameObject *)v1); *(_QWORD *)v1 = off_100971BD0; *((_QWORD *)v1 + 40) = off_100972318; *((_QWORD *)v1 + 43) = off_100972398; *(_OWORD *)(v1 + 1347) = 0; *(_QWORD *)(v1 + 1361) = 0; *((_DWORD *)v1 + 343) = 1065353216; *((_WORD *)v1 + 688) = 0; v1[1378] = 0; *(_QWORD *)(v1 + 1380) = 0x13F800000LL; v1[1388] = 0; *((_OWORD *)v1 + 87) = 0; v1[1408] = 0; *((_DWORD *)v1 + 353) = 1065353216; *((_WORD *)v1 + 712) = 0; *((_QWORD *)v1 + 177) = 0; *(_OWORD *)(v1 + 1428) = 0; *(_DWORD *)(v1 + 1443) = 0; if ( CCSpritePlus::initWithSpriteFrameName((CCSpritePlus *)v1, a1) ) { GameObject::commonSetup((GameObject *)v1); *((_DWORD *)v1 + 312) = 4; v1[313] = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return (EnhancedGameObject *)v1; }