{"type": "func", "start": 5369612480, "end": 5369612805, "name": "EditorPauseLayer::onOptions", "pseudocode": "// \n// EditorPauseLayer::onOptions from 0x1400dc8c0 to 0x1400dca05 (325 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1400dc80c\n// > <???> @ 0x1406c88f8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid EditorPauseLayer::onOptions(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GJOptionsLayer *v2; // rbx\n  __int64 (__fastcall *show)(__int64); // rdx\n\n  v2 = (GJOptionsLayer *)operator new(0x408u);\n  GJOptionsLayer::GJOptionsLayer(v2);\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJOptionsLayer_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&EditorOptionsLayer::`vftable';\n  v2[1].SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = nullptr;\n  v2->m_gap = 36.0;\n  v2->m_maxLabelScale = 0.40000001;\n  if ( GJOptionsLayer::init(v2, 1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJOptionsLayer *, __int64))v2->~GJOptionsLayer)(v2, 1);\n    v2 = nullptr;\n  }\n  show = (__int64 (__fastcall *)(__int64))v2->show;\n  if ( show == CollisionBlockPopup::show )\n    CollisionBlockPopup::show((__int64)v2);\n  else\n    show((__int64)v2);\n}", "assembly": "; \n; EditorPauseLayer::onOptions from 0x1400dc8c0 to 0x1400dca05 (325 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1400dc80c\n; > <???> @ 0x1406c88f8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400dc8c0\nsub     rsp, 20h                                                       ; +0x2, 0x1400dc8c2\nmov     ecx, 408h; Size                                                ; +0x6, 0x1400dc8c6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1400dc8cb\nmov     rbx, rax                                                       ; +0x10, 0x1400dc8d0\nmov     [rsp+28h+arg_10], rax                                          ; +0x13, 0x1400dc8d3\nmov     rcx, rax                                                       ; +0x18, 0x1400dc8d8\ncall    GJOptionsLayer__GJOptionsLayer                                 ; +0x1b, 0x1400dc8db\nlea     rax, ??_7EditorOptionsLayer@@6B@; const EditorOptionsLayer::`vftable' ; +0x20, 0x1400dc8e0\nmov     [rbx], rax                                                     ; +0x27, 0x1400dc8e7\nlea     rax, ??_7EditorOptionsLayer@@6B@_0; const EditorOptionsLayer::`vftable' ; +0x2a, 0x1400dc8ea\nmov     [rbx+140h], rax                                                ; +0x31, 0x1400dc8f1\nlea     rax, ??_7EditorOptionsLayer@@6B@_1; const EditorOptionsLayer::`vftable' ; +0x38, 0x1400dc8f8\nmov     [rbx+148h], rax                                                ; +0x3f, 0x1400dc8ff\nlea     rax, ??_7EditorOptionsLayer@@6B@_2; const EditorOptionsLayer::`vftable' ; +0x46, 0x1400dc906\nmov     [rbx+150h], rax                                                ; +0x4d, 0x1400dc90d\nlea     rax, ??_7EditorOptionsLayer@@6B@_3; const EditorOptionsLayer::`vftable' ; +0x54, 0x1400dc914\nmov     [rbx+158h], rax                                                ; +0x5b, 0x1400dc91b\nlea     rax, ??_7EditorOptionsLayer@@6B@_4; const EditorOptionsLayer::`vftable' ; +0x62, 0x1400dc922\nmov     [rbx+160h], rax                                                ; +0x69, 0x1400dc929\nlea     rax, ??_7EditorOptionsLayer@@6B@_5; const EditorOptionsLayer::`vftable' ; +0x70, 0x1400dc930\nmov     [rbx+198h], rax                                                ; +0x77, 0x1400dc937\nlea     rax, ??_7EditorOptionsLayer@@6B@_6; const EditorOptionsLayer::`vftable' ; +0x7e, 0x1400dc93e\nmov     [rbx+1B0h], rax                                                ; +0x85, 0x1400dc945\nlea     rax, ??_7EditorOptionsLayer@@6B@_7; const EditorOptionsLayer::`vftable' ; +0x8c, 0x1400dc94c\nmov     [rbx+278h], rax                                                ; +0x93, 0x1400dc953\nlea     rax, ??_7EditorOptionsLayer@@6B@_8; const EditorOptionsLayer::`vftable' ; +0x9a, 0x1400dc95a\nmov     [rbx+280h], rax                                                ; +0xa1, 0x1400dc961\nlea     rax, ??_7EditorOptionsLayer@@6B@_9; const EditorOptionsLayer::`vftable' ; +0xa8, 0x1400dc968\nmov     [rbx+288h], rax                                                ; +0xaf, 0x1400dc96f\nmov     qword ptr [rbx+3F0h], 0                                        ; +0xb6, 0x1400dc976\nmov     rax, cs:off_140575488                                          ; +0xc1, 0x1400dc981\nlea     rcx, EditorOptionsLayer__init                                  ; +0xc8, 0x1400dc988\ncmp     rax, rcx                                                       ; +0xcf, 0x1400dc98f\nmov     rcx, rbx                                                       ; +0xd2, 0x1400dc992\njnz     short loc_1400DC9EC                                            ; +0xd5, 0x1400dc995\nmov     dword ptr [rbx+3A8h], 42100000h                                ; +0xd7, 0x1400dc997\nmov     dword ptr [rbx+3BCh], 3ECCCCCDh                                ; +0xe1, 0x1400dc9a1\nmov     edx, 1                                                         ; +0xeb, 0x1400dc9ab\ncall    GJOptionsLayer__init                                           ; +0xf0, 0x1400dc9b0\ntest    al, al                                                         ; +0xf5, 0x1400dc9b5\njnz     short loc_1400DC9F2                                            ; +0xf7, 0x1400dc9b7\nmov     rax, [rbx]                                                     ; +0xf9, 0x1400dc9b9\nmov     edx, 1                                                         ; +0xfc, 0x1400dc9bc\nmov     rcx, rbx                                                       ; +0x101, 0x1400dc9c1\ncall    qword ptr [rax+8]                                              ; +0x104, 0x1400dc9c4\nxor     ebx, ebx                                                       ; +0x107, 0x1400dc9c7\nmov     rax, [rbx]                                                     ; +0x109, 0x1400dc9c9\nmov     rdx, [rax+410h]                                                ; +0x10c, 0x1400dc9cc\nlea     rax, CollisionBlockPopup__show; Merged with: CollisionBlockPopup::show, ColorSelectLiveOverlay::show, SetupTriggerPopup::show, HSVLiveOverlay::show, SetTextPopup::show, SetupObjectOptionsPopup::show, SetupSmartBlockLayer::show ; +0x113, 0x1400dc9d3\nmov     rcx, rbx                                                       ; +0x11a, 0x1400dc9da\ncmp     rdx, rax                                                       ; +0x11d, 0x1400dc9dd\njnz     short loc_1400DC9FD                                            ; +0x120, 0x1400dc9e0\nadd     rsp, 20h                                                       ; +0x122, 0x1400dc9e2\npop     rbx                                                            ; +0x126, 0x1400dc9e6\njmp     CollisionBlockPopup__show; Merged with: CollisionBlockPopup::show, ColorSelectLiveOverlay::show, SetupTriggerPopup::show, HSVLiveOverlay::show, SetTextPopup::show, SetupObjectOptionsPopup::show, SetupSmartBlockLayer::show ; +0x127, 0x1400dc9e7\ncall    rax ; EditorOptionsLayer__init                                 ; +0x12c, 0x1400dc9ec\ntest    al, al                                                         ; +0x12e, 0x1400dc9ee\njz      short loc_1400DC9B9                                            ; +0x130, 0x1400dc9f0\nmov     rcx, rbx                                                       ; +0x132, 0x1400dc9f2\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x135, 0x1400dc9f5\njmp     short loc_1400DC9C9                                            ; +0x13b, 0x1400dc9fb\nadd     rsp, 20h                                                       ; +0x13d, 0x1400dc9fd\npop     rbx                                                            ; +0x141, 0x1400dca01\njmp     rdx                                                            ; +0x142, 0x1400dca02", "xrefs": ["EditorPauseLayer::customSetup @ 0x1400dc80c", "<???> @ 0x1406c88f8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}