{"type": "func", "start": 4298208280, "end": 4298208404, "name": "GameManager::joinDiscord", "pseudocode": "// \n// GameManager::joinDiscord from 0x100317418 to 0x100317494 (124 bytes)\n// \n// 1 xrefs:\n// > FollowRewardPage::FLAlert_Clicked @ 0x100426050\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 GameManager::joinDiscord(GameManager *a1)\n{\n  cocos2d::CCApplication *v2; // x0\n  timeb v3; // [xsp+0h] [xbp-20h] BYREF\n\n  if ( GameToolbox::doWeHaveInternet() )\n  {\n    v2 = cocos2d::CCApplication::sharedApplication();\n    ((void (__fastcall *)(cocos2d::CCApplication *, const char *))v2->openURL)(\n      v2,\n      \"https://discord.com/invite/geometrydash\");\n    a1->m_clickedDiscord = 1;\n    ftime(&v3);\n    a1->m_socialsDuration = (double)(v3.millitm + 1000 * (unsigned __int64)(v3.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::joinDiscord from 0x100317418 to 0x100317494 (124 bytes)\n; \n; 1 xrefs:\n; > FollowRewardPage::FLAlert_Clicked @ 0x100426050\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x100317418\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10031741c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100317420\nADD             X29, SP, #0x20                                         ; +0xc, 0x100317424\nMOV             X19, X0                                                ; +0x10, 0x100317428\nBL              GameToolbox__doWeHaveInternet                          ; +0x14, 0x10031742c\nCBZ             W0, loc_100317484                                      ; +0x18, 0x100317430\nBL              cocos2d__CCApplication__sharedApplication              ; +0x1c, 0x100317434\nLDR             X8, [X0]                                               ; +0x20, 0x100317438\nLDR             X8, [X8,#0x60]                                         ; +0x24, 0x10031743c\nADRL            X1, aHttpsDiscordCo; \"https://discord.com/invite/geometrydash\" ; +0x28, 0x100317440\nBLR             X8                                                     ; +0x30, 0x100317448\nMOV             W8, #1                                                 ; +0x34, 0x10031744c\nSTRB            W8, [X19,#0x289]                                       ; +0x38, 0x100317450\nMOV             X0, SP; timeb *                                        ; +0x3c, 0x100317454\nBL              _ftime                                                 ; +0x40, 0x100317458\nLDRH            W8, [SP,#0x20+var_18]                                  ; +0x44, 0x10031745c\nLDR             X9, [SP,#0x20+var_20]                                  ; +0x48, 0x100317460\nAND             X9, X9, #0xFFFFF                                       ; +0x4c, 0x100317464\nMOV             W10, #0x3E8                                            ; +0x50, 0x100317468\nUMADDL          X8, W9, W10, X8                                        ; +0x54, 0x10031746c\nUCVTF           D0, X8                                                 ; +0x58, 0x100317470\nADRP            X8, #qword_1006356B0@PAGE                              ; +0x5c, 0x100317474\nLDR             D1, [X8,#qword_1006356B0@PAGEOFF]                      ; +0x60, 0x100317478\nFDIV            D0, D0, D1                                             ; +0x64, 0x10031747c\nSTR             D0, [X19,#0x290]                                       ; +0x68, 0x100317480\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x100317484\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x100317488\nADD             SP, SP, #0x30 ; '0'                                    ; +0x74, 0x10031748c\nRET                                                                    ; +0x78, 0x100317490", "xrefs": ["FollowRewardPage::FLAlert_Clicked @ 0x100426050"], "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"}