{"type": "func", "start": 4297269536, "end": 4297269915, "name": "DailyLevelPage::show", "pseudocode": "// \n// DailyLevelPage::show from 0x100232120 to 0x10023229b (379 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008e1f30\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 DailyLevelPage::show(DailyLevelPage *a1)\n{\n  unsigned __int8 v1; // r14\n  cocos2d::CCLayer *m_mainLayer; // r12\n  cocos2d::CCMoveTo *v3; // rax\n  cocos2d::CCEaseElasticOut *v4; // rax\n  cocos2d::CCDirector *v5; // rax\n  cocos2d::CCScene *m_scene; // r15\n  cocos2d::CCFadeTo *v7; // rax\n  int HighestChildZ; // eax\n  int v9; // edx\n  _BYTE v10[8]; // [rsp+8h] [rbp-38h] BYREF\n  cocos2d::CCPoint v11[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  if ( a1->m_noElasticity )\n  {\n    FLAlertLayer::show(a1);\n    return;\n  }\n  v1 = ((__int64 (__fastcall *)(DailyLevelPage *))a1->getOpacity)(a1);\n  ((void (__fastcall *)(cocos2d::CCLayer *))a1->m_mainLayer->getPosition)(a1->m_mainLayer);\n  sub_10028CC60(v11);\n  m_mainLayer = a1->m_mainLayer;\n  sub_10028CBE0(v10, -160.0, v11[0].y);\n  ((void (__fastcall *)(cocos2d::CCLayer *, _BYTE *))m_mainLayer->setPosition)(m_mainLayer, v10);\n  v3 = cocos2d::CCMoveTo::create(0.5, v11);\n  v4 = cocos2d::CCEaseElasticOut::create(v3, 0.60000002);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v4);\n  v5 = cocos2d::CCDirector::sharedDirector();\n  m_scene = (cocos2d::CCScene *)a1->m_scene;\n  if ( !m_scene )\n  {\n    m_scene = v5->m_pRunningScene;\n    HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_scene);\n    v9 = 105;\n    if ( HighestChildZ >= 105 )\n      v9 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;\n    a1->m_ZOrder = v9;\n    if ( v9 )\n      goto LABEL_6;\n    goto LABEL_5;\n  }\n  if ( !a1->m_ZOrder )\nLABEL_5:\n    a1->m_ZOrder = 105;\nLABEL_6:\n  ((void (__fastcall *)(cocos2d::CCScene *, DailyLevelPage *))m_scene->addChild_0)(m_scene, a1);\n  ((void (__fastcall *)(DailyLevelPage *, _QWORD))a1->setOpacity)(a1, 0);\n  v7 = cocos2d::CCFadeTo::create(0.14, v1);\n  cocos2d::CCNode::runAction(a1, v7);\n  ((void (__fastcall *)(DailyLevelPage *, __int64))a1->setVisible)(a1, 1);\n}", "assembly": "; \n; DailyLevelPage::show from 0x100232120 to 0x10023229b (379 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008e1f30\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, 0x100232120\nmov     rbp, rsp                                                       ; +0x1, 0x100232121\npush    r15                                                            ; +0x4, 0x100232124\npush    r14                                                            ; +0x6, 0x100232126\npush    r13                                                            ; +0x8, 0x100232128\npush    r12                                                            ; +0xa, 0x10023212a\npush    rbx                                                            ; +0xc, 0x10023212c\nsub     rsp, 18h                                                       ; +0xd, 0x10023212d\nmov     rbx, rdi                                                       ; +0x11, 0x100232131\ncmp     byte ptr [rdi+24Ch], 1                                         ; +0x14, 0x100232134\njnz     short loc_100232153                                            ; +0x1b, 0x10023213b\nmov     rdi, rbx                                                       ; +0x1d, 0x10023213d\nadd     rsp, 18h                                                       ; +0x20, 0x100232140\npop     rbx                                                            ; +0x24, 0x100232144\npop     r12                                                            ; +0x25, 0x100232145\npop     r13                                                            ; +0x27, 0x100232147\npop     r14                                                            ; +0x29, 0x100232149\npop     r15                                                            ; +0x2b, 0x10023214b\npop     rbp                                                            ; +0x2d, 0x10023214d\njmp     FLAlertLayer__show                                             ; +0x2e, 0x10023214e\nmov     rax, [rbx]                                                     ; +0x33, 0x100232153\nmov     rdi, rbx                                                       ; +0x36, 0x100232156\ncall    qword ptr [rax+470h]                                           ; +0x39, 0x100232159\nmov     r14d, eax                                                      ; +0x3f, 0x10023215f\nmov     rdi, [rbx+240h]                                                ; +0x42, 0x100232162\nmov     rax, [rdi]                                                     ; +0x49, 0x100232169\ncall    qword ptr [rax+0C0h]                                           ; +0x4c, 0x10023216c\nlea     r15, [rbp+var_30]                                              ; +0x52, 0x100232172\nmov     rdi, r15                                                       ; +0x56, 0x100232176\nmov     rsi, rax                                                       ; +0x59, 0x100232179\ncall    sub_10028CC60                                                  ; +0x5c, 0x10023217c\nmov     r12, [rbx+240h]                                                ; +0x61, 0x100232181\nmovss   xmm1, [rbp+var_2C]                                             ; +0x68, 0x100232188\nlea     r13, [rbp+var_38]                                              ; +0x6d, 0x10023218d\nmovss   xmm0, cs:dword_10081687C                                       ; +0x71, 0x100232191\nmov     rdi, r13                                                       ; +0x79, 0x100232199\ncall    sub_10028CBE0                                                  ; +0x7c, 0x10023219c\nmov     rax, [r12]                                                     ; +0x81, 0x1002321a1\nmov     rdi, r12                                                       ; +0x85, 0x1002321a5\nmov     rsi, r13                                                       ; +0x88, 0x1002321a8\ncall    qword ptr [rax+0B8h]                                           ; +0x8b, 0x1002321ab\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x91, 0x1002321b1\nmov     rdi, r15                                                       ; +0x99, 0x1002321b9\ncall    cocos2d__CCMoveTo__create                                      ; +0x9c, 0x1002321bc\nmovss   xmm0, cs:dword_100814FB0                                       ; +0xa1, 0x1002321c1\nmov     rdi, rax                                                       ; +0xa9, 0x1002321c9\ncall    cocos2d__CCEaseElasticOut__create                              ; +0xac, 0x1002321cc\nmov     rdi, [rbx+240h]                                                ; +0xb1, 0x1002321d1\nmov     rsi, rax                                                       ; +0xb8, 0x1002321d8\ncall    cocos2d__CCNode__runAction                                     ; +0xbb, 0x1002321db\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xc0, 0x1002321e0\nmov     r15, [rbx+230h]                                                ; +0xc5, 0x1002321e5\ntest    r15, r15                                                       ; +0xcc, 0x1002321ec\njz      short loc_100232263                                            ; +0xcf, 0x1002321ef\nmov     edx, [rbx+248h]                                                ; +0xd1, 0x1002321f1\ntest    edx, edx                                                       ; +0xd7, 0x1002321f7\njnz     short loc_10023220A                                            ; +0xd9, 0x1002321f9\nmov     dword ptr [rbx+248h], 69h ; 'i'                                ; +0xdb, 0x1002321fb\nmov     edx, 69h ; 'i'                                                 ; +0xe5, 0x100232205\nmov     rax, [r15]                                                     ; +0xea, 0x10023220a\nmov     rdi, r15                                                       ; +0xed, 0x10023220d\nmov     rsi, rbx                                                       ; +0xf0, 0x100232210\ncall    qword ptr [rax+1C0h]                                           ; +0xf3, 0x100232213\nmov     rax, [rbx]                                                     ; +0xf9, 0x100232219\nmov     rdi, rbx                                                       ; +0xfc, 0x10023221c\nxor     esi, esi                                                       ; +0xff, 0x10023221f\ncall    qword ptr [rax+480h]                                           ; +0x101, 0x100232221\nmovzx   edi, r14b                                                      ; +0x107, 0x100232227\nmovss   xmm0, cs:dword_100817A50                                       ; +0x10b, 0x10023222b\ncall    cocos2d__CCFadeTo__create                                      ; +0x113, 0x100232233\nmov     rdi, rbx                                                       ; +0x118, 0x100232238\nmov     rsi, rax                                                       ; +0x11b, 0x10023223b\ncall    cocos2d__CCNode__runAction                                     ; +0x11e, 0x10023223e\nmov     rax, [rbx]                                                     ; +0x123, 0x100232243\nmov     rdi, rbx                                                       ; +0x126, 0x100232246\nmov     esi, 1                                                         ; +0x129, 0x100232249\ncall    qword ptr [rax+148h]                                           ; +0x12e, 0x10023224e\nadd     rsp, 18h                                                       ; +0x134, 0x100232254\npop     rbx                                                            ; +0x138, 0x100232258\npop     r12                                                            ; +0x139, 0x100232259\npop     r13                                                            ; +0x13b, 0x10023225b\npop     r14                                                            ; +0x13d, 0x10023225d\npop     r15                                                            ; +0x13f, 0x10023225f\npop     rbp                                                            ; +0x141, 0x100232261\nretn                                                                   ; +0x142, 0x100232262\nmov     r15, [rax+108h]                                                ; +0x143, 0x100232263\nmov     rdi, r15                                                       ; +0x14a, 0x10023226a\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x14d, 0x10023226d\nmov     edx, 69h ; 'i'                                                 ; +0x152, 0x100232272\ncmp     eax, 69h ; 'i'                                                 ; +0x157, 0x100232277\njl      short loc_100232288                                            ; +0x15a, 0x10023227a\nmov     rdi, r15                                                       ; +0x15c, 0x10023227c\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x15f, 0x10023227f\nmov     edx, eax                                                       ; +0x164, 0x100232284\ninc     edx                                                            ; +0x166, 0x100232286\nmov     [rbx+248h], edx                                                ; +0x168, 0x100232288\ntest    edx, edx                                                       ; +0x16e, 0x10023228e\njnz     loc_10023220A                                                  ; +0x170, 0x100232290\njmp     loc_1002321FB                                                  ; +0x176, 0x100232296", "xrefs": ["<???> @ 0x1008e1f30"], "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"}