{"type": "func", "start": 4298208156, "end": 4298208280, "name": "GameManager::followTwitch", "pseudocode": "// \n// GameManager::followTwitch from 0x10031739c to 0x100317418 (124 bytes)\n// \n// 1 xrefs:\n// > FollowRewardPage::FLAlert_Clicked @ 0x100426038\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::followTwitch(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://www.twitch.tv/directory/category/geometry-dash\");\n    a1->m_clickedTwitch = 1;\n    ftime(&v3);\n    a1->m_socialsDuration = (double)(v3.millitm + 1000 * (unsigned __int64)(v3.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::followTwitch from 0x10031739c to 0x100317418 (124 bytes)\n; \n; 1 xrefs:\n; > FollowRewardPage::FLAlert_Clicked @ 0x100426038\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, 0x10031739c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003173a0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003173a4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003173a8\nMOV             X19, X0                                                ; +0x10, 0x1003173ac\nBL              GameToolbox__doWeHaveInternet                          ; +0x14, 0x1003173b0\nCBZ             W0, loc_100317408                                      ; +0x18, 0x1003173b4\nBL              cocos2d__CCApplication__sharedApplication              ; +0x1c, 0x1003173b8\nLDR             X8, [X0]                                               ; +0x20, 0x1003173bc\nLDR             X8, [X8,#0x60]                                         ; +0x24, 0x1003173c0\nADRL            X1, aHttpsWwwTwitch_0; \"https://www.twitch.tv/directory/categor\"... ; +0x28, 0x1003173c4\nBLR             X8                                                     ; +0x30, 0x1003173cc\nMOV             W8, #1                                                 ; +0x34, 0x1003173d0\nSTRB            W8, [X19,#0x288]                                       ; +0x38, 0x1003173d4\nMOV             X0, SP; timeb *                                        ; +0x3c, 0x1003173d8\nBL              _ftime                                                 ; +0x40, 0x1003173dc\nLDRH            W8, [SP,#0x20+var_18]                                  ; +0x44, 0x1003173e0\nLDR             X9, [SP,#0x20+var_20]                                  ; +0x48, 0x1003173e4\nAND             X9, X9, #0xFFFFF                                       ; +0x4c, 0x1003173e8\nMOV             W10, #0x3E8                                            ; +0x50, 0x1003173ec\nUMADDL          X8, W9, W10, X8                                        ; +0x54, 0x1003173f0\nUCVTF           D0, X8                                                 ; +0x58, 0x1003173f4\nADRP            X8, #qword_1006356B0@PAGE                              ; +0x5c, 0x1003173f8\nLDR             D1, [X8,#qword_1006356B0@PAGEOFF]                      ; +0x60, 0x1003173fc\nFDIV            D0, D0, D1                                             ; +0x64, 0x100317400\nSTR             D0, [X19,#0x290]                                       ; +0x68, 0x100317404\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x100317408\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x10031740c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x74, 0x100317410\nRET                                                                    ; +0x78, 0x100317414", "xrefs": ["FollowRewardPage::FLAlert_Clicked @ 0x100426038"], "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"}