{"type": "func", "start": 4297156464, "end": 4297156843, "name": "DailyLevelPage::show", "pseudocode": "// \n// DailyLevelPage::show from 0x100216770 to 0x1002168eb (379 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ae65d0\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:27:00 +0000\n// \n\n__int64 __fastcall DailyLevelPage::show(__int64 a1)\n{\n  unsigned __int8 v3; // r14\n  __int64 v4; // rax\n  __int64 v5; // r12\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rdi\n  __int64 v9; // rsi\n  __int64 v10; // rax\n  __int64 v11; // r15\n  __int64 v12; // rax\n  int HighestChildZ; // eax\n  int v14; // edx\n  _BYTE v15[8]; // [rsp+8h] [rbp-38h] BYREF\n  _BYTE v16[4]; // [rsp+10h] [rbp-30h] BYREF\n  float v17; // [rsp+14h] [rbp-2Ch]\n\n  if ( *(_BYTE *)(a1 + 596) == 1 )\n    return FLAlertLayer::show(a1);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1152LL))(a1);\n  v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584));\n  sub_1002782D0(v16, v4);\n  v5 = *(_QWORD *)(a1 + 584);\n  sub_100278250(v15, -160.0, v17);\n  (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL))(v5, v15);\n  v6 = cocos2d::CCMoveTo::create(v16, 0.5);\n  v7 = cocos2d::CCEaseElasticOut::create(v6, 0.60000002);\n  v8 = *(_QWORD *)(a1 + 584);\n  v9 = v7;\n  cocos2d::CCNode::runAction(v8, v7);\n  v10 = cocos2d::CCDirector::sharedDirector(v8, v9);\n  v11 = *(_QWORD *)(a1 + 568);\n  if ( !v11 )\n  {\n    v11 = *(_QWORD *)(v10 + 272);\n    HighestChildZ = cocos2d::CCScene::getHighestChildZ(v11);\n    v14 = 105;\n    if ( HighestChildZ >= 105 )\n      v14 = cocos2d::CCScene::getHighestChildZ(v11) + 1;\n    *(_DWORD *)(a1 + 592) = v14;\n    if ( v14 )\n      goto LABEL_6;\n    goto LABEL_5;\n  }\n  if ( !*(_DWORD *)(a1 + 592) )\nLABEL_5:\n    *(_DWORD *)(a1 + 592) = 105;\nLABEL_6:\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 464LL))(v11, a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);\n  v12 = cocos2d::CCFadeTo::create(v3, 0.14);\n  cocos2d::CCNode::runAction(a1, v12);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 344LL))(a1, 1);\n}", "assembly": "; \n; DailyLevelPage::show from 0x100216770 to 0x1002168eb (379 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ae65d0\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:27:00 +0000\n; \npush    rbp                                                            ; +0x0, 0x100216770\nmov     rbp, rsp                                                       ; +0x1, 0x100216771\npush    r15                                                            ; +0x4, 0x100216774\npush    r14                                                            ; +0x6, 0x100216776\npush    r13                                                            ; +0x8, 0x100216778\npush    r12                                                            ; +0xa, 0x10021677a\npush    rbx                                                            ; +0xc, 0x10021677c\nsub     rsp, 18h                                                       ; +0xd, 0x10021677d\nmov     rbx, rdi                                                       ; +0x11, 0x100216781\ncmp     byte ptr [rdi+254h], 1                                         ; +0x14, 0x100216784\njnz     short loc_1002167A3                                            ; +0x1b, 0x10021678b\nmov     rdi, rbx                                                       ; +0x1d, 0x10021678d\nadd     rsp, 18h                                                       ; +0x20, 0x100216790\npop     rbx                                                            ; +0x24, 0x100216794\npop     r12                                                            ; +0x25, 0x100216795\npop     r13                                                            ; +0x27, 0x100216797\npop     r14                                                            ; +0x29, 0x100216799\npop     r15                                                            ; +0x2b, 0x10021679b\npop     rbp                                                            ; +0x2d, 0x10021679d\njmp     FLAlertLayer__show                                             ; +0x2e, 0x10021679e\nmov     rax, [rbx]                                                     ; +0x33, 0x1002167a3\nmov     rdi, rbx                                                       ; +0x36, 0x1002167a6\ncall    qword ptr [rax+480h]                                           ; +0x39, 0x1002167a9\nmov     r14d, eax                                                      ; +0x3f, 0x1002167af\nmov     rdi, [rbx+248h]                                                ; +0x42, 0x1002167b2\nmov     rax, [rdi]                                                     ; +0x49, 0x1002167b9\ncall    qword ptr [rax+0C0h]                                           ; +0x4c, 0x1002167bc\nlea     r15, [rbp+var_30]                                              ; +0x52, 0x1002167c2\nmov     rdi, r15                                                       ; +0x56, 0x1002167c6\nmov     rsi, rax                                                       ; +0x59, 0x1002167c9\ncall    sub_1002782D0                                                  ; +0x5c, 0x1002167cc\nmov     r12, [rbx+248h]                                                ; +0x61, 0x1002167d1\nmovss   xmm1, [rbp+var_2C]                                             ; +0x68, 0x1002167d8\nlea     r13, [rbp+var_38]                                              ; +0x6d, 0x1002167dd\nmovss   xmm0, cs:dword_100A04C44                                       ; +0x71, 0x1002167e1\nmov     rdi, r13                                                       ; +0x79, 0x1002167e9\ncall    sub_100278250                                                  ; +0x7c, 0x1002167ec\nmov     rax, [r12]                                                     ; +0x81, 0x1002167f1\nmov     rdi, r12                                                       ; +0x85, 0x1002167f5\nmov     rsi, r13                                                       ; +0x88, 0x1002167f8\ncall    qword ptr [rax+0B8h]                                           ; +0x8b, 0x1002167fb\nmovss   xmm0, cs:dword_100A03578                                       ; +0x91, 0x100216801\nmov     rdi, r15                                                       ; +0x99, 0x100216809\ncall    cocos2d__CCMoveTo__create                                      ; +0x9c, 0x10021680c\nmovss   xmm0, cs:dword_100A037D4                                       ; +0xa1, 0x100216811\nmov     rdi, rax                                                       ; +0xa9, 0x100216819\ncall    cocos2d__CCEaseElasticOut__create                              ; +0xac, 0x10021681c\nmov     rdi, [rbx+248h]                                                ; +0xb1, 0x100216821\nmov     rsi, rax                                                       ; +0xb8, 0x100216828\ncall    cocos2d__CCNode__runAction                                     ; +0xbb, 0x10021682b\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xc0, 0x100216830\nmov     r15, [rbx+238h]                                                ; +0xc5, 0x100216835\ntest    r15, r15                                                       ; +0xcc, 0x10021683c\njz      short loc_1002168B3                                            ; +0xcf, 0x10021683f\nmov     edx, [rbx+250h]                                                ; +0xd1, 0x100216841\ntest    edx, edx                                                       ; +0xd7, 0x100216847\njnz     short loc_10021685A                                            ; +0xd9, 0x100216849\nmov     dword ptr [rbx+250h], 69h ; 'i'                                ; +0xdb, 0x10021684b\nmov     edx, 69h ; 'i'                                                 ; +0xe5, 0x100216855\nmov     rax, [r15]                                                     ; +0xea, 0x10021685a\nmov     rdi, r15                                                       ; +0xed, 0x10021685d\nmov     rsi, rbx                                                       ; +0xf0, 0x100216860\ncall    qword ptr [rax+1D0h]                                           ; +0xf3, 0x100216863\nmov     rax, [rbx]                                                     ; +0xf9, 0x100216869\nmov     rdi, rbx                                                       ; +0xfc, 0x10021686c\nxor     esi, esi                                                       ; +0xff, 0x10021686f\ncall    qword ptr [rax+490h]                                           ; +0x101, 0x100216871\nmovzx   edi, r14b                                                      ; +0x107, 0x100216877\nmovss   xmm0, cs:dword_100A05E70                                       ; +0x10b, 0x10021687b\ncall    cocos2d__CCFadeTo__create                                      ; +0x113, 0x100216883\nmov     rdi, rbx                                                       ; +0x118, 0x100216888\nmov     rsi, rax                                                       ; +0x11b, 0x10021688b\ncall    cocos2d__CCNode__runAction                                     ; +0x11e, 0x10021688e\nmov     rax, [rbx]                                                     ; +0x123, 0x100216893\nmov     rdi, rbx                                                       ; +0x126, 0x100216896\nmov     esi, 1                                                         ; +0x129, 0x100216899\ncall    qword ptr [rax+158h]                                           ; +0x12e, 0x10021689e\nadd     rsp, 18h                                                       ; +0x134, 0x1002168a4\npop     rbx                                                            ; +0x138, 0x1002168a8\npop     r12                                                            ; +0x139, 0x1002168a9\npop     r13                                                            ; +0x13b, 0x1002168ab\npop     r14                                                            ; +0x13d, 0x1002168ad\npop     r15                                                            ; +0x13f, 0x1002168af\npop     rbp                                                            ; +0x141, 0x1002168b1\nretn                                                                   ; +0x142, 0x1002168b2\nmov     r15, [rax+110h]                                                ; +0x143, 0x1002168b3\nmov     rdi, r15                                                       ; +0x14a, 0x1002168ba\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x14d, 0x1002168bd\nmov     edx, 69h ; 'i'                                                 ; +0x152, 0x1002168c2\ncmp     eax, 69h ; 'i'                                                 ; +0x157, 0x1002168c7\njl      short loc_1002168D8                                            ; +0x15a, 0x1002168ca\nmov     rdi, r15                                                       ; +0x15c, 0x1002168cc\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x15f, 0x1002168cf\nmov     edx, eax                                                       ; +0x164, 0x1002168d4\ninc     edx                                                            ; +0x166, 0x1002168d6\nmov     [rbx+250h], edx                                                ; +0x168, 0x1002168d8\ntest    edx, edx                                                       ; +0x16e, 0x1002168de\njnz     loc_10021685A                                                  ; +0x170, 0x1002168e0\njmp     loc_10021684B                                                  ; +0x176, 0x1002168e6", "xrefs": ["<???> @ 0x100ae65d0"], "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"}