{"type": "func", "start": 4298639568, "end": 4298639678, "name": "GameManager::followTwitch", "pseudocode": "// \n// GameManager::followTwitch from 0x1003808d0 to 0x10038093e (110 bytes)\n// \n// 1 xrefs:\n// > FollowRewardPage::FLAlert_Clicked @ 0x1004219bd\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 *v1; // rax\n  timeb v2; // [rsp+8h] [rbp-18h] BYREF\n\n  if ( GameToolbox::doWeHaveInternet() )\n  {\n    v1 = cocos2d::CCApplication::sharedApplication();\n    ((void (__fastcall *)(cocos2d::CCApplication *, const char *))v1->openURL)(\n      v1,\n      \"https://www.twitch.tv/directory/category/geometry-dash\");\n    a1->m_clickedTwitch = 1;\n    ftime(&v2);\n    a1->m_socialsDuration = (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::followTwitch from 0x1003808d0 to 0x10038093e (110 bytes)\n; \n; 1 xrefs:\n; > FollowRewardPage::FLAlert_Clicked @ 0x1004219bd\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\npush    rbp                                                            ; +0x0, 0x1003808d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003808d1\npush    rbx                                                            ; +0x4, 0x1003808d4\nsub     rsp, 18h                                                       ; +0x5, 0x1003808d5\nmov     rbx, rdi                                                       ; +0x9, 0x1003808d9\ncall    GameToolbox__doWeHaveInternet                                  ; +0xc, 0x1003808dc\ntest    al, al                                                         ; +0x11, 0x1003808e1\njz      short loc_100380937                                            ; +0x13, 0x1003808e3\ncall    cocos2d__CCApplication__sharedApplication                      ; +0x15, 0x1003808e5\nmov     rcx, [rax]                                                     ; +0x1a, 0x1003808ea\nlea     rsi, aHttpsWwwTwitch; \"https://www.twitch.tv/directory/categor\"... ; +0x1d, 0x1003808ed\nmov     rdi, rax                                                       ; +0x24, 0x1003808f4\ncall    qword ptr [rcx+60h]                                            ; +0x27, 0x1003808f7\nmov     byte ptr [rbx+288h], 1                                         ; +0x2a, 0x1003808fa\nlea     rdi, [rbp+var_18]; timeb *                                     ; +0x31, 0x100380901\ncall    _ftime                                                         ; +0x35, 0x100380905\nmovzx   eax, [rbp+var_18.millitm]                                      ; +0x3a, 0x10038090a\nmov     rcx, [rbp+var_18.time]                                         ; +0x3e, 0x10038090e\nand     ecx, 0FFFFFh                                                   ; +0x42, 0x100380912\nimul    rcx, 3E8h                                                      ; +0x48, 0x100380918\nadd     rcx, rax                                                       ; +0x4f, 0x10038091f\ncvtsi2sd xmm0, rcx                                                     ; +0x52, 0x100380922\ndivsd   xmm0, cs:qword_100815208                                       ; +0x57, 0x100380927\nmovsd   qword ptr [rbx+290h], xmm0                                     ; +0x5f, 0x10038092f\nadd     rsp, 18h                                                       ; +0x67, 0x100380937\npop     rbx                                                            ; +0x6b, 0x10038093b\npop     rbp                                                            ; +0x6c, 0x10038093c\nretn                                                                   ; +0x6d, 0x10038093d", "xrefs": ["FollowRewardPage::FLAlert_Clicked @ 0x1004219bd"], "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"}