{"type": "func", "start": 8239984, "end": 8240088, "name": "CreatorLayer::onWeeklyLevel", "pseudocode": "// \n// CreatorLayer::onWeeklyLevel from 0x7dbb70 to 0x7dbbd8 (104 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xa2f58\n// > CreatorLayer::init @ 0x7dd44c\n// > <???> @ 0x15448a0\n// \n// This function is hookable on this platform (idp: arm, 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:54:23 +0000\n// \n\n__int64 __fastcall CreatorLayer::onWeeklyLevel(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n\n  result = (unsigned __int8)CreatorLayer::canPlayOnlineLevels(this);\n  if ( (_BYTE)result )\n  {\n    v4 = GameLevelManager::sharedState((GameLevelManager *)result);\n    GameLevelManager::markTimedLevelSeen(v4, 1);\n    v5 = *((_QWORD *)this + 57);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 576LL))(v5);\n    v6 = DailyLevelPage::create(1);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);\n  }\n  return result;\n}", "assembly": "; \n; CreatorLayer::onWeeklyLevel from 0x7dbb70 to 0x7dbbd8 (104 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xa2f58\n; > CreatorLayer::init @ 0x7dd44c\n; > <???> @ 0x15448a0\n; \n; This function is hookable on this platform (idp: arm, 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:54:23 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7dbb70\nMOV             X29, SP                                                ; +0x4, 0x7dbb74\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7dbb78\nMOV             X19, X0                                                ; +0xc, 0x7dbb7c\nBL              _ZN12CreatorLayer19canPlayOnlineLevelsEv; CreatorLayer::canPlayOnlineLevels(void) ; +0x10, 0x7dbb80\nUXTB            W0, W0; this                                           ; +0x14, 0x7dbb84\nCBNZ            W0, loc_7DBB98                                         ; +0x18, 0x7dbb88\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x7dbb8c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x7dbb90\nRET                                                                    ; +0x24, 0x7dbb94\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x28, 0x7dbb98\nMOV             W1, #1                                                 ; +0x2c, 0x7dbb9c\nBL              _ZN16GameLevelManager18markTimedLevelSeenE16GJTimedLevelType; GameLevelManager::markTimedLevelSeen(GJTimedLevelType) ; +0x30, 0x7dbba0\nLDR             X0, [X19,#0x1C8]                                       ; +0x34, 0x7dbba4\nCBZ             X0, loc_7DBBB8                                         ; +0x38, 0x7dbba8\nLDR             X1, [X0]                                               ; +0x3c, 0x7dbbac\nLDR             X1, [X1,#0x240]                                        ; +0x40, 0x7dbbb0\nBLR             X1                                                     ; +0x44, 0x7dbbb4\nMOV             W0, #1                                                 ; +0x48, 0x7dbbb8\nBL              _ZN14DailyLevelPage6createE16GJTimedLevelType; DailyLevelPage::create(GJTimedLevelType) ; +0x4c, 0x7dbbbc\nLDR             X1, [X0]                                               ; +0x50, 0x7dbbc0\nLDR             X1, [X1,#0x520]                                        ; +0x54, 0x7dbbc4\nBLR             X1                                                     ; +0x58, 0x7dbbc8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x7dbbcc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x7dbbd0\nRET                                                                    ; +0x64, 0x7dbbd4", "xrefs": ["<???> @ 0xa2f58", "CreatorLayer::init @ 0x7dd44c", "<???> @ 0x15448a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}