// // GJMGLayer::create from 0x7ed128 to 0x7ed22c (260 bytes) // // 2 xrefs: // > GJBaseGameLayer::createMiddleground @ 0x8572d4 // > @ 0x61050 // // 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 // GJMGLayer *GJMGLayer::create(int a1) { __int64 v2; // x19 v2 = operator new(0x1E8u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2); *(_QWORD *)(v2 + 408) = 0; *(_QWORD *)v2 = &off_1185580; *(_QWORD *)(v2 + 320) = off_1185A08; *(_QWORD *)(v2 + 328) = &off_1185A78; *(_QWORD *)(v2 + 336) = off_1185A90; *(_QWORD *)(v2 + 344) = &off_1185AB0; *(_QWORD *)(v2 + 352) = off_1185AD0; *(_QWORD *)(v2 + 416) = 0; *(_QWORD *)(v2 + 432) = 0; *(_BYTE *)(v2 + 440) = 0; *(_BYTE *)(v2 + 448) = 1; *(_BYTE *)(v2 + 449) = 1; *(_BYTE *)(v2 + 456) = 0; *(_BYTE *)(v2 + 457) = 0; *(_BYTE *)(v2 + 458) = 0; *(_QWORD *)(v2 + 464) = 0; *(_QWORD *)(v2 + 472) = 0; *(_DWORD *)(v2 + 424) = 0; *(_DWORD *)(v2 + 444) = 0; *(_DWORD *)(v2 + 452) = 0; *(_DWORD *)(v2 + 480) = 0; *(_DWORD *)(v2 + 484) = 0; if ( GJMGLayer::init((GJMGLayer *)v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); return (GJMGLayer *)v2; } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source