// // CustomizeObjectLayer::onSettings from 0x140142270 to 0x1401423bf (335 bytes) // // 2 xrefs: // > CustomizeObjectLayer::init @ 0x14013fc8f // > @ 0x140917348 // // 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 11:27:10 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall CustomizeObjectLayer::onSettings(__int64 a1) { __int64 v2; // rbx __int64 v3; // rdi _QWORD *v4; // r14 __int64 (__fastcall *v5)(_QWORD *); // rdx v2 = *(_QWORD *)(a1 + 696); v3 = *(_QWORD *)(a1 + 688); v4 = operator new(0x3F8u); SetupTriggerPopup::SetupTriggerPopup((__int64)v4); *v4 = &CustomizeObjectSettingsPopup::`vftable'; v4[40] = &CustomizeObjectSettingsPopup::`vftable'; v4[41] = &CustomizeObjectSettingsPopup::`vftable'; v4[42] = &CustomizeObjectSettingsPopup::`vftable'; v4[43] = &CustomizeObjectSettingsPopup::`vftable'; v4[44] = &CustomizeObjectSettingsPopup::`vftable'; v4[51] = &CustomizeObjectSettingsPopup::`vftable'; v4[54] = &CustomizeObjectSettingsPopup::`vftable'; v4[68] = &CustomizeObjectSettingsPopup::`vftable'; v4[83] = &CustomizeObjectSettingsPopup::`vftable'; v4[84] = &CustomizeObjectSettingsPopup::`vftable'; v4[125] = 0; *((_BYTE *)v4 + 1008) = 0; if ( (unsigned __int8)CustomizeObjectSettingsPopup::init(v4, v3, v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 8LL))(v4, 1); v4 = nullptr; } v5 = *(__int64 (__fastcall **)(_QWORD *))(*v4 + 1064LL); if ( (char *)v5 == (char *)SetupTriggerPopup::show ) return SetupTriggerPopup::show(v4); else return v5(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source