// // CustomizeObjectLayer::recreateLayer from 0x1001dac70 to 0x1001dadc2 (338 bytes) // // 1 xrefs: // > CustomizeObjectSettingsPopup::onClose @ 0x1001dc0f0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:26:26 +0000 // __int64 __fastcall CustomizeObjectLayer::recreateLayer(__int64 a1, __int64 a2) { __int64 v2; // r15 __int64 v3; // r14 __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rax _QWORD *v7; // rdi __int64 v8; // rdx __int64 v9; // rdi __int64 v10; // rax __int64 v11; // rdx double v12; // xmm0_8 __int64 v13; // rax __int64 v14; // rdx void *v15; // r15 __int64 result; // rax v2 = a1; v3 = *(_QWORD *)(a1 + 688); v4 = *(_QWORD *)(a1 + 696); if ( v3 ) { a1 = *(_QWORD *)(a1 + 688); cocos2d::CCObject::retain(a1); } if ( v4 ) { a1 = v4; cocos2d::CCObject::retain(v4); } v5 = cocos2d::CCDirector::sharedDirector(a1, a2); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, v2); v7 = *(_QWORD **)(v2 + 816); v7[73] = 0; (*(void (__fastcall **)(_QWORD *, _QWORD))(*v7 + 1160LL))(v7, 0); v9 = *(_QWORD *)(v2 + 824); if ( v9 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 1160LL))(v9, 0); *(_QWORD *)(*(_QWORD *)(v2 + 824) + 584LL) = 0; } GameManager::sharedState(v9, 0, v8); *(_DWORD *)(v10 + 972) = *(_DWORD *)(v2 + 748); *(_QWORD *)&v12 = GameManager::sharedState(v9, 0, v11).u64[0]; EditorUI::updateObjectInfoLabel(*(_QWORD *)(*(_QWORD *)(v13 + 552) + 14248LL), 0, v14); (*(void (__fastcall **)(__int64, _QWORD, double))(*(_QWORD *)v2 + 1072LL))(v2, 0, v12); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 528LL))(v2, 1); v15 = operator new(0x3A0u); CustomizeObjectLayer::CustomizeObjectLayer(v15); if ( !(unsigned __int8)CustomizeObjectLayer::init((__int64)v15, v3, v4) ) sub_1009A64E0(v15); cocos2d::CCObject::autorelease(v15); result = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v15 + 1312LL))(v15); if ( v3 ) result = cocos2d::CCObject::release(v3); if ( v4 ) return cocos2d::CCObject::release(v4); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source