{"type": "func", "start": 4298639232, "end": 4298639342, "name": "GameManager::likeFacebook", "pseudocode": "// \n// GameManager::likeFacebook from 0x100380780 to 0x1003807ee (110 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::FLAlert_Clicked @ 0x10036fa24\n// > FollowRewardPage::FLAlert_Clicked @ 0x1004219af\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::likeFacebook(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.facebook.com/geometrydash\");\n    a1->m_clickedFacebook = 1;\n    ftime(&v2);\n    a1->m_socialsDuration = (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::likeFacebook from 0x100380780 to 0x1003807ee (110 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::FLAlert_Clicked @ 0x10036fa24\n; > FollowRewardPage::FLAlert_Clicked @ 0x1004219af\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, 0x100380780\nmov     rbp, rsp                                                       ; +0x1, 0x100380781\npush    rbx                                                            ; +0x4, 0x100380784\nsub     rsp, 18h                                                       ; +0x5, 0x100380785\nmov     rbx, rdi                                                       ; +0x9, 0x100380789\ncall    GameToolbox__doWeHaveInternet                                  ; +0xc, 0x10038078c\ntest    al, al                                                         ; +0x11, 0x100380791\njz      short loc_1003807E7                                            ; +0x13, 0x100380793\ncall    cocos2d__CCApplication__sharedApplication                      ; +0x15, 0x100380795\nmov     rcx, [rax]                                                     ; +0x1a, 0x10038079a\nlea     rsi, aHttpsWwwFacebo; \"https://www.facebook.com/geometrydash\"  ; +0x1d, 0x10038079d\nmov     rdi, rax                                                       ; +0x24, 0x1003807a4\ncall    qword ptr [rcx+60h]                                            ; +0x27, 0x1003807a7\nmov     byte ptr [rbx+285h], 1                                         ; +0x2a, 0x1003807aa\nlea     rdi, [rbp+var_18]; timeb *                                     ; +0x31, 0x1003807b1\ncall    _ftime                                                         ; +0x35, 0x1003807b5\nmovzx   eax, [rbp+var_18.millitm]                                      ; +0x3a, 0x1003807ba\nmov     rcx, [rbp+var_18.time]                                         ; +0x3e, 0x1003807be\nand     ecx, 0FFFFFh                                                   ; +0x42, 0x1003807c2\nimul    rcx, 3E8h                                                      ; +0x48, 0x1003807c8\nadd     rcx, rax                                                       ; +0x4f, 0x1003807cf\ncvtsi2sd xmm0, rcx                                                     ; +0x52, 0x1003807d2\ndivsd   xmm0, cs:qword_100815208                                       ; +0x57, 0x1003807d7\nmovsd   qword ptr [rbx+290h], xmm0                                     ; +0x5f, 0x1003807df\nadd     rsp, 18h                                                       ; +0x67, 0x1003807e7\npop     rbx                                                            ; +0x6b, 0x1003807eb\npop     rbp                                                            ; +0x6c, 0x1003807ec\nretn                                                                   ; +0x6d, 0x1003807ed", "xrefs": ["GJGarageLayer::FLAlert_Clicked @ 0x10036fa24", "FollowRewardPage::FLAlert_Clicked @ 0x1004219af"], "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"}