{"type": "func", "start": 4298639344, "end": 4298639454, "name": "GameManager::followTwitter", "pseudocode": "// \n// GameManager::followTwitter from 0x1003807f0 to 0x10038085e (110 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::FLAlert_Clicked @ 0x10036fa56\n// > FollowRewardPage::FLAlert_Clicked @ 0x1004219cb\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::followTwitter(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)(v1, \"https://twitter.com/robtopgames\");\n    a1->m_clickedTwitter = 1;\n    ftime(&v2);\n    a1->m_socialsDuration = (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::followTwitter from 0x1003807f0 to 0x10038085e (110 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::FLAlert_Clicked @ 0x10036fa56\n; > FollowRewardPage::FLAlert_Clicked @ 0x1004219cb\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, 0x1003807f0\nmov     rbp, rsp                                                       ; +0x1, 0x1003807f1\npush    rbx                                                            ; +0x4, 0x1003807f4\nsub     rsp, 18h                                                       ; +0x5, 0x1003807f5\nmov     rbx, rdi                                                       ; +0x9, 0x1003807f9\ncall    GameToolbox__doWeHaveInternet                                  ; +0xc, 0x1003807fc\ntest    al, al                                                         ; +0x11, 0x100380801\njz      short loc_100380857                                            ; +0x13, 0x100380803\ncall    cocos2d__CCApplication__sharedApplication                      ; +0x15, 0x100380805\nmov     rcx, [rax]                                                     ; +0x1a, 0x10038080a\nlea     rsi, aHttpsTwitterCo; \"https://twitter.com/robtopgames\"        ; +0x1d, 0x10038080d\nmov     rdi, rax                                                       ; +0x24, 0x100380814\ncall    qword ptr [rcx+60h]                                            ; +0x27, 0x100380817\nmov     byte ptr [rbx+286h], 1                                         ; +0x2a, 0x10038081a\nlea     rdi, [rbp+var_18]; timeb *                                     ; +0x31, 0x100380821\ncall    _ftime                                                         ; +0x35, 0x100380825\nmovzx   eax, [rbp+var_18.millitm]                                      ; +0x3a, 0x10038082a\nmov     rcx, [rbp+var_18.time]                                         ; +0x3e, 0x10038082e\nand     ecx, 0FFFFFh                                                   ; +0x42, 0x100380832\nimul    rcx, 3E8h                                                      ; +0x48, 0x100380838\nadd     rcx, rax                                                       ; +0x4f, 0x10038083f\ncvtsi2sd xmm0, rcx                                                     ; +0x52, 0x100380842\ndivsd   xmm0, cs:qword_100815208                                       ; +0x57, 0x100380847\nmovsd   qword ptr [rbx+290h], xmm0                                     ; +0x5f, 0x10038084f\nadd     rsp, 18h                                                       ; +0x67, 0x100380857\npop     rbx                                                            ; +0x6b, 0x10038085b\npop     rbp                                                            ; +0x6c, 0x10038085c\nretn                                                                   ; +0x6d, 0x10038085d", "xrefs": ["GJGarageLayer::FLAlert_Clicked @ 0x10036fa56", "FollowRewardPage::FLAlert_Clicked @ 0x1004219cb"], "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"}