{"type": "func", "start": 5372339632, "end": 5372339895, "name": "MoreOptionsLayer::onParental", "pseudocode": "// \n// MoreOptionsLayer::onParental from 0x1403765b0 to 0x1403766b7 (263 bytes)\n// \n// 2 xrefs:\n// > MoreOptionsLayer::init @ 0x1403743bb\n// > <???> @ 0x1406d5bc4\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 MoreOptionsLayer::onParental(MoreOptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  char *v2; // rbx\n  void (*v3)(FLAlertLayer *); // rdx\n\n  v2 = (char *)operator new(0x2A8u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v2);\n  *(_QWORD *)v2 = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 40) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 41) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 42) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 43) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 44) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 51) = &ParentalOptionsLayer::`vftable';\n  *((_QWORD *)v2 + 54) = &ParentalOptionsLayer::`vftable';\n  *((_DWORD *)v2 + 158) = -1;\n  *(_QWORD *)(v2 + 636) = 0;\n  if ( ParentalOptionsLayer::init((ParentalOptionsLayer *)v2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    v2 = nullptr;\n  }\n  v3 = *(void (**)(FLAlertLayer *))(*(_QWORD *)v2 + 1040LL);\n  if ( v3 == FLAlertLayer::show )\n    FLAlertLayer::show((FLAlertLayer *)v2);\n  else\n    v3((FLAlertLayer *)v2);\n}", "assembly": "; \n; MoreOptionsLayer::onParental from 0x1403765b0 to 0x1403766b7 (263 bytes)\n; \n; 2 xrefs:\n; > MoreOptionsLayer::init @ 0x1403743bb\n; > <???> @ 0x1406d5bc4\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, 0x1403765b0\nsub     rsp, 20h                                                       ; +0x2, 0x1403765b2\nmov     ecx, 2A8h; Size                                                ; +0x6, 0x1403765b6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1403765bb\nmov     rbx, rax                                                       ; +0x10, 0x1403765c0\nmov     [rsp+28h+arg_10], rax                                          ; +0x13, 0x1403765c3\nmov     rcx, rax                                                       ; +0x18, 0x1403765c8\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x1b, 0x1403765cb\nlea     rax, ??_7ParentalOptionsLayer@@6B@; const ParentalOptionsLayer::`vftable' ; +0x20, 0x1403765d0\nmov     [rbx], rax                                                     ; +0x27, 0x1403765d7\nlea     rax, ??_7ParentalOptionsLayer@@6B@_0; const ParentalOptionsLayer::`vftable' ; +0x2a, 0x1403765da\nmov     [rbx+140h], rax                                                ; +0x31, 0x1403765e1\nlea     rax, ??_7ParentalOptionsLayer@@6B@_1; const ParentalOptionsLayer::`vftable' ; +0x38, 0x1403765e8\nmov     [rbx+148h], rax                                                ; +0x3f, 0x1403765ef\nlea     rax, ??_7ParentalOptionsLayer@@6B@_2; const ParentalOptionsLayer::`vftable' ; +0x46, 0x1403765f6\nmov     [rbx+150h], rax                                                ; +0x4d, 0x1403765fd\nlea     rax, ??_7ParentalOptionsLayer@@6B@_3; const ParentalOptionsLayer::`vftable' ; +0x54, 0x140376604\nmov     [rbx+158h], rax                                                ; +0x5b, 0x14037660b\nlea     rax, ??_7ParentalOptionsLayer@@6B@_4; const ParentalOptionsLayer::`vftable' ; +0x62, 0x140376612\nmov     [rbx+160h], rax                                                ; +0x69, 0x140376619\nlea     rax, ??_7ParentalOptionsLayer@@6B@_5; const ParentalOptionsLayer::`vftable' ; +0x70, 0x140376620\nmov     [rbx+198h], rax                                                ; +0x77, 0x140376627\nlea     rax, ??_7ParentalOptionsLayer@@6B@_6; const ParentalOptionsLayer::`vftable' ; +0x7e, 0x14037662e\nmov     [rbx+1B0h], rax                                                ; +0x85, 0x140376635\nmov     dword ptr [rbx+278h], 0FFFFFFFFh                               ; +0x8c, 0x14037663c\nmov     qword ptr [rbx+27Ch], 0                                        ; +0x96, 0x140376646\nmov     rax, cs:off_1405C4A80                                          ; +0xa1, 0x140376651\nlea     rcx, ParentalOptionsLayer__init                                ; +0xa8, 0x140376658\ncmp     rax, rcx                                                       ; +0xaf, 0x14037665f\nmov     rcx, rbx                                                       ; +0xb2, 0x140376662\njnz     short loc_14037666E                                            ; +0xb5, 0x140376665\ncall    ParentalOptionsLayer__init                                     ; +0xb7, 0x140376667\njmp     short loc_140376670                                            ; +0xbc, 0x14037666c\ncall    rax ; ParentalOptionsLayer__init                               ; +0xbe, 0x14037666e\nmov     rcx, rbx                                                       ; +0xc0, 0x140376670\ntest    al, al                                                         ; +0xc3, 0x140376673\njz      short loc_14037667F                                            ; +0xc5, 0x140376675\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc7, 0x140376677\njmp     short loc_14037668C                                            ; +0xcd, 0x14037667d\nmov     rax, [rbx]                                                     ; +0xcf, 0x14037667f\nmov     edx, 1                                                         ; +0xd2, 0x140376682\ncall    qword ptr [rax+8]                                              ; +0xd7, 0x140376687\nxor     ebx, ebx                                                       ; +0xda, 0x14037668a\nmov     rax, [rbx]                                                     ; +0xdc, 0x14037668c\nmov     rdx, [rax+410h]                                                ; +0xdf, 0x14037668f\nlea     rax, FLAlertLayer__show                                        ; +0xe6, 0x140376696\nmov     rcx, rbx                                                       ; +0xed, 0x14037669d\ncmp     rdx, rax                                                       ; +0xf0, 0x1403766a0\njnz     short loc_1403766AF                                            ; +0xf3, 0x1403766a3\nadd     rsp, 20h                                                       ; +0xf5, 0x1403766a5\npop     rbx                                                            ; +0xf9, 0x1403766a9\njmp     FLAlertLayer__show                                             ; +0xfa, 0x1403766aa\nadd     rsp, 20h                                                       ; +0xff, 0x1403766af\npop     rbx                                                            ; +0x103, 0x1403766b3\njmp     rdx                                                            ; +0x104, 0x1403766b4", "xrefs": ["MoreOptionsLayer::init @ 0x1403743bb", "<???> @ 0x1406d5bc4"], "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"}