{"type": "func", "start": 4298207908, "end": 4298208032, "name": "GameManager::followTwitter", "pseudocode": "// \n// GameManager::followTwitter from 0x1003172a4 to 0x100317320 (124 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::FLAlert_Clicked @ 0x100306c68\n// > FollowRewardPage::FLAlert_Clicked @ 0x100426044\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 *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)(v2, \"https://twitter.com/robtopgames\");\n    a1->m_clickedTwitter = 1;\n    ftime(&v3);\n    a1->m_socialsDuration = (double)(v3.millitm + 1000 * (unsigned __int64)(v3.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::followTwitter from 0x1003172a4 to 0x100317320 (124 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::FLAlert_Clicked @ 0x100306c68\n; > FollowRewardPage::FLAlert_Clicked @ 0x100426044\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, 0x1003172a4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003172a8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003172ac\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003172b0\nMOV             X19, X0                                                ; +0x10, 0x1003172b4\nBL              GameToolbox__doWeHaveInternet                          ; +0x14, 0x1003172b8\nCBZ             W0, loc_100317310                                      ; +0x18, 0x1003172bc\nBL              cocos2d__CCApplication__sharedApplication              ; +0x1c, 0x1003172c0\nLDR             X8, [X0]                                               ; +0x20, 0x1003172c4\nLDR             X8, [X8,#0x60]                                         ; +0x24, 0x1003172c8\nADRL            X1, aHttpsTwitterCo; \"https://twitter.com/robtopgames\" ; +0x28, 0x1003172cc\nBLR             X8                                                     ; +0x30, 0x1003172d4\nMOV             W8, #1                                                 ; +0x34, 0x1003172d8\nSTRB            W8, [X19,#0x286]                                       ; +0x38, 0x1003172dc\nMOV             X0, SP; timeb *                                        ; +0x3c, 0x1003172e0\nBL              _ftime                                                 ; +0x40, 0x1003172e4\nLDRH            W8, [SP,#0x20+var_18]                                  ; +0x44, 0x1003172e8\nLDR             X9, [SP,#0x20+var_20]                                  ; +0x48, 0x1003172ec\nAND             X9, X9, #0xFFFFF                                       ; +0x4c, 0x1003172f0\nMOV             W10, #0x3E8                                            ; +0x50, 0x1003172f4\nUMADDL          X8, W9, W10, X8                                        ; +0x54, 0x1003172f8\nUCVTF           D0, X8                                                 ; +0x58, 0x1003172fc\nADRP            X8, #qword_1006356B0@PAGE                              ; +0x5c, 0x100317300\nLDR             D1, [X8,#qword_1006356B0@PAGEOFF]                      ; +0x60, 0x100317304\nFDIV            D0, D0, D1                                             ; +0x64, 0x100317308\nSTR             D0, [X19,#0x290]                                       ; +0x68, 0x10031730c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x100317310\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x100317314\nADD             SP, SP, #0x30 ; '0'                                    ; +0x74, 0x100317318\nRET                                                                    ; +0x78, 0x10031731c", "xrefs": ["GJGarageLayer::FLAlert_Clicked @ 0x100306c68", "FollowRewardPage::FLAlert_Clicked @ 0x100426044"], "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"}