{"type": "func", "start": 4298562000, "end": 4298562151, "name": "GameManager::showParentalRestrictedAlert", "pseudocode": "// \n// GameManager::showParentalRestrictedAlert from 0x10036d9d0 to 0x10036da67 (151 bytes)\n// \n// 8 xrefs:\n// > EditLevelLayer::onShare @ 0x1001de8e3\n// > CommentCell::onGoToLevel @ 0x10023de60\n// > LevelListCell::onClick @ 0x100243252\n// > sub_100349610 @ 0x10034965f\n// > sub_1008F6530 @ 0x1008f6562\n// > sub_1008FE000 @ 0x1008fe02b\n// > ThreadOpenHelper::check @ 0x100948f26\n// > sub_1009A4070 @ 0x1009a40cf\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:01 +0000\n// \n\nvoid GameManager::showParentalRestrictedAlert()\n{\n  __int64 v0; // rax\n  _QWORD v1[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x38u);\n  v1[0] = 57;\n  v1[1] = 54;\n  strcpy((char *)__p, \"This feature is disabled by <cy>Parental Controls</c>.\");\n  v0 = sub_100493AB0(0, \"Restricted\", v1, \"OK\", 0);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 1312LL))(v0);\n  if ( (v1[0] & 1) != 0 )\n    operator delete(__p);\n}", "assembly": "; \n; GameManager::showParentalRestrictedAlert from 0x10036d9d0 to 0x10036da67 (151 bytes)\n; \n; 8 xrefs:\n; > EditLevelLayer::onShare @ 0x1001de8e3\n; > CommentCell::onGoToLevel @ 0x10023de60\n; > LevelListCell::onClick @ 0x100243252\n; > sub_100349610 @ 0x10034965f\n; > sub_1008F6530 @ 0x1008f6562\n; > sub_1008FE000 @ 0x1008fe02b\n; > ThreadOpenHelper::check @ 0x100948f26\n; > sub_1009A4070 @ 0x1009a40cf\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036d9d0\nmov     rbp, rsp                                                       ; +0x1, 0x10036d9d1\npush    rbx                                                            ; +0x4, 0x10036d9d4\nsub     rsp, 18h                                                       ; +0x5, 0x10036d9d5\nmov     edi, 38h ; '8'; __sz                                           ; +0x9, 0x10036d9d9\ncall    __Znwm; operator new(ulong)                                    ; +0xe, 0x10036d9de\nmov     [rbp+__p], rax                                                 ; +0x13, 0x10036d9e3\nmov     [rbp+var_20], 39h ; '9'                                        ; +0x17, 0x10036d9e7\nmov     [rbp+var_18], 36h ; '6'                                        ; +0x1f, 0x10036d9ef\nmov     rcx, 2E3E632F3C736C6Fh                                         ; +0x27, 0x10036d9f7\nmov     [rax+2Eh], rcx                                                 ; +0x31, 0x10036da01\nmovups  xmm0, xmmword ptr cs:aThisFeatureIsD+20h; \"Parental Controls</c>.\" ; +0x35, 0x10036da05\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x3c, 0x10036da0c\nmovups  xmm0, xmmword ptr cs:aThisFeatureIsD+10h; \"disabled by <cy>Parental Controls</c>.\" ; +0x40, 0x10036da10\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x47, 0x10036da17\nmovups  xmm0, xmmword ptr cs:aThisFeatureIsD; \"This feature is disabled by <cy>Parenta\"... ; +0x4b, 0x10036da1b\nmovups  xmmword ptr [rax], xmm0                                        ; +0x52, 0x10036da22\nmov     byte ptr [rax+36h], 0                                          ; +0x55, 0x10036da25\nlea     rsi, aRestricted; \"Restricted\"                                 ; +0x59, 0x10036da29\nlea     rcx, aOk; \"OK\"                                                 ; +0x60, 0x10036da30\nlea     rdx, [rbp+var_20]                                              ; +0x67, 0x10036da37\nxor     edi, edi                                                       ; +0x6b, 0x10036da3b\nxor     r8d, r8d                                                       ; +0x6d, 0x10036da3d\ncall    sub_100493AB0                                                  ; +0x70, 0x10036da40\nmov     rcx, [rax]                                                     ; +0x75, 0x10036da45\nmov     rdi, rax                                                       ; +0x78, 0x10036da48\ncall    qword ptr [rcx+520h]                                           ; +0x7b, 0x10036da4b\ntest    byte ptr [rbp+var_20], 1                                       ; +0x81, 0x10036da51\njz      short loc_10036DA60                                            ; +0x85, 0x10036da55\nmov     rdi, [rbp+__p]; __p                                            ; +0x87, 0x10036da57\ncall    __ZdlPv; operator delete(void *)                               ; +0x8b, 0x10036da5b\nadd     rsp, 18h                                                       ; +0x90, 0x10036da60\npop     rbx                                                            ; +0x94, 0x10036da64\npop     rbp                                                            ; +0x95, 0x10036da65\nretn                                                                   ; +0x96, 0x10036da66", "xrefs": ["EditLevelLayer::onShare @ 0x1001de8e3", "CommentCell::onGoToLevel @ 0x10023de60", "LevelListCell::onClick @ 0x100243252", "sub_100349610 @ 0x10034965f", "sub_1008F6530 @ 0x1008f6562", "sub_1008FE000 @ 0x1008fe02b", "ThreadOpenHelper::check @ 0x100948f26", "sub_1009A4070 @ 0x1009a40cf"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}