// // DrawGridLayer::create from 0x1000dcb20 to 0x1000dcc3b (283 bytes) // // 1 xrefs: // > LevelEditorLayer::init @ 0x1000dbb49 // // 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 // DrawGridLayer *__fastcall DrawGridLayer::create(cocos2d::CCNode *a1, LevelEditorLayer *a2) { char *v2; // rbx v2 = (char *)operator new(0x260u); cocos2d::CCLayer::CCLayer(v2); *(_QWORD *)v2 = off_1008C09C0; *((_QWORD *)v2 + 40) = off_1008C0E40; *((_QWORD *)v2 + 41) = &off_1008C0EB0; *((_QWORD *)v2 + 42) = off_1008C0EC8; *((_QWORD *)v2 + 43) = off_1008C0EE8; *((_QWORD *)v2 + 44) = off_1008C0F08; *((_OWORD *)v2 + 27) = 0; *((_OWORD *)v2 + 28) = 0; *((_DWORD *)v2 + 116) = 1065353216; *((_DWORD *)v2 + 118) = -1082130432; *((_WORD *)v2 + 300) = 0; *((_QWORD *)v2 + 60) = 0; *(_QWORD *)(v2 + 485) = 0; *(_OWORD *)(v2 + 504) = 0; *(_OWORD *)(v2 + 520) = 0; *(_OWORD *)(v2 + 536) = 0; *(_OWORD *)(v2 + 552) = 0; *(_OWORD *)(v2 + 564) = 0; *((_DWORD *)v2 + 151) = 1106247680; if ( DrawGridLayer::init((DrawGridLayer *)v2, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (DrawGridLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source