{"type": "func", "start": 8240088, "end": 8240192, "name": "CreatorLayer::onEventLevel", "pseudocode": "// \n// CreatorLayer::onEventLevel from 0x7dbbd8 to 0x7dbc40 (104 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x8f2a8\n// > CreatorLayer::init @ 0x7dd428\n// > <???> @ 0x1543ce0\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::onEventLevel(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, 2);\n    v5 = *((_QWORD *)this + 58);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 576LL))(v5);\n    v6 = DailyLevelPage::create(2);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);\n  }\n  return result;\n}", "assembly": "; \n; CreatorLayer::onEventLevel from 0x7dbbd8 to 0x7dbc40 (104 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x8f2a8\n; > CreatorLayer::init @ 0x7dd428\n; > <???> @ 0x1543ce0\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, 0x7dbbd8\nMOV             X29, SP                                                ; +0x4, 0x7dbbdc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7dbbe0\nMOV             X19, X0                                                ; +0xc, 0x7dbbe4\nBL              _ZN12CreatorLayer19canPlayOnlineLevelsEv; CreatorLayer::canPlayOnlineLevels(void) ; +0x10, 0x7dbbe8\nUXTB            W0, W0; this                                           ; +0x14, 0x7dbbec\nCBNZ            W0, loc_7DBC00                                         ; +0x18, 0x7dbbf0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x7dbbf4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x7dbbf8\nRET                                                                    ; +0x24, 0x7dbbfc\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x28, 0x7dbc00\nMOV             W1, #2                                                 ; +0x2c, 0x7dbc04\nBL              _ZN16GameLevelManager18markTimedLevelSeenE16GJTimedLevelType; GameLevelManager::markTimedLevelSeen(GJTimedLevelType) ; +0x30, 0x7dbc08\nLDR             X0, [X19,#0x1D0]                                       ; +0x34, 0x7dbc0c\nCBZ             X0, loc_7DBC20                                         ; +0x38, 0x7dbc10\nLDR             X1, [X0]                                               ; +0x3c, 0x7dbc14\nLDR             X1, [X1,#0x240]                                        ; +0x40, 0x7dbc18\nBLR             X1                                                     ; +0x44, 0x7dbc1c\nMOV             W0, #2                                                 ; +0x48, 0x7dbc20\nBL              _ZN14DailyLevelPage6createE16GJTimedLevelType; DailyLevelPage::create(GJTimedLevelType) ; +0x4c, 0x7dbc24\nLDR             X1, [X0]                                               ; +0x50, 0x7dbc28\nLDR             X1, [X1,#0x520]                                        ; +0x54, 0x7dbc2c\nBLR             X1                                                     ; +0x58, 0x7dbc30\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x7dbc34\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x7dbc38\nRET                                                                    ; +0x64, 0x7dbc3c", "xrefs": ["<???> @ 0x8f2a8", "CreatorLayer::init @ 0x7dd428", "<???> @ 0x1543ce0"], "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"}