// // GJGroundLayer::create from 0x14027e1a0 to 0x14027e21f (127 bytes) // // 5 xrefs: // > GJBaseGameLayer::createGroundLayer @ 0x14020bcc5 // > GJBaseGameLayer::createGroundLayer @ 0x14020bcfe // > LevelSelectLayer::init @ 0x1403186f8 // > MenuGameLayer::init @ 0x1403316ae // > @ 0x1406d11b4 // // 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 // // Hidden C++ exception states: #wind=1 GJGroundLayer *GJGroundLayer::create(int a1, int a2) { GJGroundLayer *v4; // rax GJGroundLayer *v5; // rbx void *v7; // [rsp+40h] [rbp+18h] v7 = operator new(0x1D8u); v4 = (GJGroundLayer *)sub_14027E010((__int64)v7); v5 = v4; if ( v4 ) { if ( GJGroundLayer::init(v4, a1, a2) ) { cocos2d::CCObject::autorelease(v5); return v5; } ((void (__fastcall *)(GJGroundLayer *, __int64))v5->~GJGroundLayer)(v5, 1); return nullptr; } return v5; }