{"type": "func", "start": 4297053360, "end": 4297053518, "name": "EditLevelLayer::onGuidelines", "pseudocode": "// \n// EditLevelLayer::onGuidelines from 0x1001fd4b0 to 0x1001fd54e (158 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001fb9b0\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 EditLevelLayer::onGuidelines(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  _QWORD v3[2]; // [rsp+8h] [rbp-28h] BYREF\n  void *__p; // [rsp+18h] [rbp-18h]\n\n  __p = operator new(0x1D8u);\n  v3[0] = 473;\n  v3[1] = 464;\n  strcpy(\n    (char *)__p,\n    \"Hateful, abusive, or otherwise inappropriate content, whether it is in the level, name, or description may lead to <\"\n    \"cr>deletion</c>. The same applies to levels abusing cheats or exploits. Stealing assets from other levels is <co>dis\"\n    \"couraged</c> and may stop a level from being rated depending on the context, severity, credit, and more. Levels veri\"\n    \"fied with hacks cannot be rated.\\n\"\n    \"<cy>These guidelines and their enforcement are entirely at RobTop's discretion.</c>\");\n  v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Upload Guidelines\", v3, \"OK\", 0, 380.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; EditLevelLayer::onGuidelines from 0x1001fd4b0 to 0x1001fd54e (158 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001fb9b0\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, 0x1001fd4b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001fd4b1\npush    r14                                                            ; +0x4, 0x1001fd4b4\npush    rbx                                                            ; +0x6, 0x1001fd4b6\nsub     rsp, 20h                                                       ; +0x7, 0x1001fd4b7\nmov     rbx, rdi                                                       ; +0xb, 0x1001fd4bb\nadd     rbx, 1A0h                                                      ; +0xe, 0x1001fd4be\nmov     edi, 1D8h; __sz                                                ; +0x15, 0x1001fd4c5\ncall    __Znwm; operator new(ulong)                                    ; +0x1a, 0x1001fd4ca\nmov     r14, rax                                                       ; +0x1f, 0x1001fd4cf\nmov     [rbp+__p], rax                                                 ; +0x22, 0x1001fd4d2\nmov     [rbp+var_28], 1D9h                                             ; +0x26, 0x1001fd4d6\nmov     [rbp+var_20], 1D0h                                             ; +0x2e, 0x1001fd4de\nlea     rsi, aHatefulAbusive; \"Hateful, abusive, or otherwise inapprop\"... ; +0x36, 0x1001fd4e6\nmov     edx, 1D0h; __n                                                 ; +0x3d, 0x1001fd4ed\nmov     rdi, rax; __dst                                                ; +0x42, 0x1001fd4f2\ncall    _memcpy                                                        ; +0x45, 0x1001fd4f5\nmov     byte ptr [r14+1D0h], 0                                         ; +0x4a, 0x1001fd4fa\nlea     rsi, aUploadGuidelin; \"Upload Guidelines\"                      ; +0x52, 0x1001fd502\nlea     rcx, aOk; \"OK\"                                                 ; +0x59, 0x1001fd509\nlea     rdx, [rbp+var_28]                                              ; +0x60, 0x1001fd510\nmovss   xmm0, cs:dword_1008152BC                                       ; +0x64, 0x1001fd514\nmov     rdi, rbx                                                       ; +0x6c, 0x1001fd51c\nxor     r8d, r8d                                                       ; +0x6f, 0x1001fd51f\ncall    FLAlertLayer__create_1                                         ; +0x72, 0x1001fd522\nmov     rbx, rax                                                       ; +0x77, 0x1001fd527\ntest    byte ptr [rbp+var_28], 1                                       ; +0x7a, 0x1001fd52a\njz      short loc_1001FD539                                            ; +0x7e, 0x1001fd52e\nmov     rdi, [rbp+__p]; __p                                            ; +0x80, 0x1001fd530\ncall    __ZdlPv; operator delete(void *)                               ; +0x84, 0x1001fd534\nmov     rax, [rbx]                                                     ; +0x89, 0x1001fd539\nmov     rdi, rbx                                                       ; +0x8c, 0x1001fd53c\ncall    qword ptr [rax+508h]                                           ; +0x8f, 0x1001fd53f\nadd     rsp, 20h                                                       ; +0x95, 0x1001fd545\npop     rbx                                                            ; +0x99, 0x1001fd549\npop     r14                                                            ; +0x9a, 0x1001fd54a\npop     rbp                                                            ; +0x9c, 0x1001fd54c\nretn                                                                   ; +0x9d, 0x1001fd54d", "xrefs": ["EditLevelLayer::init @ 0x1001fb9b0"], "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"}