// // CustomizeObjectLayer::create from 0x1001f4f00 to 0x1001f50d6 (470 bytes) // // 2 xrefs: // > EditorUI::editObject @ 0x10002b29e // > CustomizeObjectLayer::recreateLayer @ 0x1001f8976 // // 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 // CustomizeObjectLayer *__fastcall CustomizeObjectLayer::create(GameObject *a1, cocos2d::CCArray *a2) { char *v2; // rbx v2 = (char *)operator new(0x388u); cocos2d::CCLayerColor::CCLayerColor(v2); *((_QWORD *)v2 + 72) = 0; *((_DWORD *)v2 + 146) = 0; v2[588] = 0; *((_OWORD *)v2 + 34) = 0; *(_OWORD *)(v2 + 553) = 0; *((_OWORD *)v2 + 37) = 0; *((_QWORD *)v2 + 76) = 0; *((_DWORD *)v2 + 154) = -1; *((_WORD *)v2 + 310) = 0; *((_DWORD *)v2 + 156) = -1; v2[628] = 0; *(_QWORD *)v2 = off_1008D9388; *((_QWORD *)v2 + 40) = off_1008D98D8; *((_QWORD *)v2 + 41) = &off_1008D9948; *((_QWORD *)v2 + 42) = off_1008D9960; *((_QWORD *)v2 + 43) = off_1008D9980; *((_QWORD *)v2 + 44) = off_1008D99A0; *((_QWORD *)v2 + 51) = off_1008D99C8; *((_QWORD *)v2 + 54) = off_1008D9A48; *((_QWORD *)v2 + 79) = off_1008D9A68; *((_QWORD *)v2 + 80) = off_1008D9AB0; *((_QWORD *)v2 + 81) = &off_1008D9AD0; *((_QWORD *)v2 + 82) = &off_1008D9AE8; *((_QWORD *)v2 + 87) = 0; *(_OWORD *)(v2 + 664) = 0; *((_QWORD *)v2 + 85) = 0; *((_QWORD *)v2 + 90) = 0xA00000001LL; *((_WORD *)v2 + 364) = 0; *((_QWORD *)v2 + 100) = 0; *((_DWORD *)v2 + 202) = 0; *((_WORD *)v2 + 448) = 0; v2[898] = 0; *((_OWORD *)v2 + 47) = 0; *((_QWORD *)v2 + 96) = 0; *((_OWORD *)v2 + 51) = 0; if ( CustomizeObjectLayer::init((CustomizeObjectLayer *)v2, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (CustomizeObjectLayer *)v2; }