// // GJMGLayer::create from 0x10002c800 to 0x10002c8bc (188 bytes) // // 1 xrefs: // > GJBaseGameLayer::createMiddleground @ 0x1001de2f8 // // 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 *__fastcall GJMGLayer::create(int a1) { char *v2; // x19 v2 = (char *)operator new(0x1E8u); cocos2d::CCLayer::CCLayer(); *(_QWORD *)v2 = &off_1007653C0; *((_QWORD *)v2 + 40) = off_100765848; *((_QWORD *)v2 + 41) = &off_1007658B8; *((_QWORD *)v2 + 42) = off_1007658D0; *((_QWORD *)v2 + 43) = &off_1007658F0; *((_QWORD *)v2 + 44) = off_100765910; *((_QWORD *)v2 + 54) = 0; v2[440] = 0; *((_DWORD *)v2 + 111) = 0; *((_QWORD *)v2 + 51) = 0; *((_QWORD *)v2 + 52) = 0; *((_DWORD *)v2 + 106) = 0; *((_WORD *)v2 + 224) = 257; *((_DWORD *)v2 + 113) = 0; *(_DWORD *)(v2 + 455) = 0; *((_QWORD *)v2 + 59) = 0; *((_QWORD *)v2 + 60) = 0; *((_QWORD *)v2 + 58) = 0; if ( GJMGLayer::init((GJMGLayer *)v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (GJMGLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source