// // CreateGuidelinesLayer::onClearGuidelines from 0x10050c2f0 to 0x10050c399 (169 bytes) // // 1 xrefs: // > CreateGuidelinesLayer::init @ 0x10050b9cd // // 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 // void __fastcall CreateGuidelinesLayer::onClearGuidelines(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2) { __int64 v2; // rbx __int128 v3; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] __p = operator new(0x30u); *(_QWORD *)&v3 = 49; *((_QWORD *)&v3 + 1) = 46; strcpy((char *)__p, "Delete the current guidelines?"); v2 = sub_10049B0F0( (__int64)&a1->FLAlertLayerProtocol, (__int64)"Clear Guidelines", &v3, (__int64)"No", (__int64)"Yes", 3.682120952049389e180); if ( (v3 & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2); }