// // UIPOptionsLayer::create from 0x1403ab7c0 to 0x1403ab8f6 (310 bytes) // // 2 xrefs: // > PauseLayer::onSideButtonPressed @ 0x1404d9929 // > @ 0x140923a44 // // 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:31:20 +0000 // // Hidden C++ exception states: #wind=2 cocos2d::CCObject *UIPOptionsLayer::create() { cocos2d::CCObject *v0; // rbx __int64 (__fastcall *v1)(cocos2d::CCObject *); // rdx char v2; // al v0 = (cocos2d::CCObject *)operator new(0x408u); SetupTriggerPopup::SetupTriggerPopup((__int64)v0); *(_QWORD *)v0 = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 40) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 41) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 42) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 43) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 44) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 51) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 54) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 68) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 83) = &UIPOptionsLayer::`vftable'; *((_QWORD *)v0 + 84) = &UIPOptionsLayer::`vftable'; *((_DWORD *)v0 + 250) = -1; *((_QWORD *)v0 + 126) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCObject *)((char *)v0 + 1016)); cocos2d::CCPoint::CCPoint((cocos2d::CCObject *)((char *)v0 + 1024)); v1 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v0 + 72LL); if ( (char *)v1 == (char *)UIPOptionsLayer::init ) v2 = UIPOptionsLayer::init(v0); else v2 = v1(v0); if ( v2 ) { cocos2d::CCObject::autorelease(v0); return v0; } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source