{"type": "func", "start": 4300260080, "end": 4300260249, "name": "CreateGuidelinesLayer::onClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::onClearGuidelines from 0x10050c2f0 to 0x10050c399 (169 bytes)\n// \n// 1 xrefs:\n// > CreateGuidelinesLayer::init @ 0x10050b9cd\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\nvoid __fastcall CreateGuidelinesLayer::onClearGuidelines(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  __int128 v3; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x30u);\n  *(_QWORD *)&v3 = 49;\n  *((_QWORD *)&v3 + 1) = 46;\n  strcpy((char *)__p, \"<cr>Delete</c> the current <cl>guidelines</c>?\");\n  v2 = sub_10049B0F0(\n         (__int64)&a1->FLAlertLayerProtocol,\n         (__int64)\"Clear Guidelines\",\n         &v3,\n         (__int64)\"No\",\n         (__int64)\"Yes\",\n         3.682120952049389e180);\n  if ( (v3 & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; CreateGuidelinesLayer::onClearGuidelines from 0x10050c2f0 to 0x10050c399 (169 bytes)\n; \n; 1 xrefs:\n; > CreateGuidelinesLayer::init @ 0x10050b9cd\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    rbp                                                            ; +0x0, 0x10050c2f0\nmov     rbp, rsp                                                       ; +0x1, 0x10050c2f1\npush    rbx                                                            ; +0x4, 0x10050c2f4\nsub     rsp, 18h                                                       ; +0x5, 0x10050c2f5\nmov     rbx, rdi                                                       ; +0x9, 0x10050c2f9\nadd     rbx, 278h                                                      ; +0xc, 0x10050c2fc\nmov     edi, 30h ; '0'; __sz                                           ; +0x13, 0x10050c303\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x10050c308\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x10050c30d\nmov     [rbp+var_20], 31h ; '1'                                        ; +0x21, 0x10050c311\nmov     [rbp+var_18], 2Eh ; '.'                                        ; +0x29, 0x10050c319\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu+1Eh; \">guidelines</c>?\"   ; +0x31, 0x10050c321\nmovups  xmmword ptr [rax+1Eh], xmm0                                    ; +0x38, 0x10050c328\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu+10h; \"he current <cl>guidelines</c>?\" ; +0x3c, 0x10050c32c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x43, 0x10050c333\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu; \"<cr>Delete</c> the current <cl>guidelin\"... ; +0x47, 0x10050c337\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4e, 0x10050c33e\nmov     byte ptr [rax+2Eh], 0                                          ; +0x51, 0x10050c341\nlea     rsi, aClearGuideline; \"Clear Guidelines\"                       ; +0x55, 0x10050c345\nlea     rcx, aNo_0; \"No\"                                               ; +0x5c, 0x10050c34c\nlea     r8, aYes; \"Yes\"                                                ; +0x63, 0x10050c353\nlea     rdx, [rbp+var_20]                                              ; +0x6a, 0x10050c35a\nmov     rdi, rbx                                                       ; +0x6e, 0x10050c35e\ncall    sub_10049B0F0                                                  ; +0x71, 0x10050c361\nmov     rbx, rax                                                       ; +0x76, 0x10050c366\ntest    byte ptr [rbp+var_20], 1                                       ; +0x79, 0x10050c369\njz      short loc_10050C378                                            ; +0x7d, 0x10050c36d\nmov     rdi, [rbp+__p]; __p                                            ; +0x7f, 0x10050c36f\ncall    __ZdlPv; operator delete(void *)                               ; +0x83, 0x10050c373\nmov     rax, [rbx]                                                     ; +0x88, 0x10050c378\nmov     rdi, rbx                                                       ; +0x8b, 0x10050c37b\nmov     esi, 1                                                         ; +0x8e, 0x10050c37e\ncall    qword ptr [rax+48h]                                            ; +0x93, 0x10050c383\nmov     rax, [rbx]                                                     ; +0x96, 0x10050c386\nmov     rdi, rbx                                                       ; +0x99, 0x10050c389\ncall    qword ptr [rax+508h]                                           ; +0x9c, 0x10050c38c\nadd     rsp, 18h                                                       ; +0xa2, 0x10050c392\npop     rbx                                                            ; +0xa6, 0x10050c396\npop     rbp                                                            ; +0xa7, 0x10050c397\nretn                                                                   ; +0xa8, 0x10050c398", "xrefs": ["CreateGuidelinesLayer::init @ 0x10050b9cd"], "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"}