{"type": "func", "start": 4798506, "end": 4798556, "name": "CreatorLayer::onDailyLevel", "pseudocode": "// \n// CreatorLayer::onDailyLevel from 0x49382a to 0x49385c (50 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:39 +0000\n// \n\nGameLevelManager *__fastcall CreatorLayer::onDailyLevel(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  GameLevelManager *result; // r0\n  int v4; // r0\n  int v5; // r0\n\n  result = (GameLevelManager *)CreatorLayer::canPlayOnlineLevels(this);\n  if ( result )\n  {\n    v4 = GameLevelManager::sharedState(result);\n    GameLevelManager::markTimedLevelSeen(v4, 0);\n    sub_4933A8(*((_DWORD *)this + 84), 0);\n    v5 = DailyLevelPage::create(0);\n    return (GameLevelManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);\n  }\n  return result;\n}", "assembly": "; \n; CreatorLayer::onDailyLevel from 0x49382a to 0x49385c (50 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:39 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x49382a\nMOV             R4, R0                                                 ; +0x2, 0x49382c\nBL              _ZN12CreatorLayer19canPlayOnlineLevelsEv; CreatorLayer::canPlayOnlineLevels(void) ; +0x4, 0x49382e\nCBZ             R0, locret_49385A                                      ; +0x8, 0x493832\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xa, 0x493834\nMOVS            R1, #0                                                 ; +0xe, 0x493838\nBL              _ZN16GameLevelManager18markTimedLevelSeenE16GJTimedLevelType; GameLevelManager::markTimedLevelSeen(GJTimedLevelType) ; +0x10, 0x49383a\nLDR.W           R0, [R4,#0x150]                                        ; +0x14, 0x49383e\nMOVS            R1, #0                                                 ; +0x18, 0x493842\nBL              sub_4933A8                                             ; +0x1a, 0x493844\nMOVS            R0, #0                                                 ; +0x1e, 0x493848\nBL              _ZN14DailyLevelPage6createE16GJTimedLevelType; DailyLevelPage::create(GJTimedLevelType) ; +0x20, 0x49384a\nPOP.W           {R4,LR}                                                ; +0x24, 0x49384e\nLDR             R3, [R0]                                               ; +0x28, 0x493852\nLDR.W           R3, [R3,#0x290]                                        ; +0x2a, 0x493854\nBX              R3                                                     ; +0x2e, 0x493858\nPOP             {R4,PC}                                                ; +0x30, 0x49385a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}