{"type": "func", "start": 4298207784, "end": 4298207908, "name": "GameManager::likeFacebook", "pseudocode": "// \n// GameManager::likeFacebook from 0x100317228 to 0x1003172a4 (124 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::FLAlert_Clicked @ 0x100306c34\n// > FollowRewardPage::FLAlert_Clicked @ 0x100425ff4\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 *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.facebook.com/geometrydash\");\n    a1->m_clickedFacebook = 1;\n    ftime(&v3);\n    a1->m_socialsDuration = (double)(v3.millitm + 1000 * (unsigned __int64)(v3.time & 0xFFFFF)) / 1000.0;\n  }\n}", "assembly": "; \n; GameManager::likeFacebook from 0x100317228 to 0x1003172a4 (124 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::FLAlert_Clicked @ 0x100306c34\n; > FollowRewardPage::FLAlert_Clicked @ 0x100425ff4\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, 0x100317228\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10031722c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100317230\nADD             X29, SP, #0x20                                         ; +0xc, 0x100317234\nMOV             X19, X0                                                ; +0x10, 0x100317238\nBL              GameToolbox__doWeHaveInternet                          ; +0x14, 0x10031723c\nCBZ             W0, loc_100317294                                      ; +0x18, 0x100317240\nBL              cocos2d__CCApplication__sharedApplication              ; +0x1c, 0x100317244\nLDR             X8, [X0]                                               ; +0x20, 0x100317248\nLDR             X8, [X8,#0x60]                                         ; +0x24, 0x10031724c\nADRL            X1, aHttpsWwwFacebo_9; \"https://www.facebook.com/geometrydash\" ; +0x28, 0x100317250\nBLR             X8                                                     ; +0x30, 0x100317258\nMOV             W8, #1                                                 ; +0x34, 0x10031725c\nSTRB            W8, [X19,#0x285]                                       ; +0x38, 0x100317260\nMOV             X0, SP; timeb *                                        ; +0x3c, 0x100317264\nBL              _ftime                                                 ; +0x40, 0x100317268\nLDRH            W8, [SP,#0x20+var_18]                                  ; +0x44, 0x10031726c\nLDR             X9, [SP,#0x20+var_20]                                  ; +0x48, 0x100317270\nAND             X9, X9, #0xFFFFF                                       ; +0x4c, 0x100317274\nMOV             W10, #0x3E8                                            ; +0x50, 0x100317278\nUMADDL          X8, W9, W10, X8                                        ; +0x54, 0x10031727c\nUCVTF           D0, X8                                                 ; +0x58, 0x100317280\nADRP            X8, #qword_1006356B0@PAGE                              ; +0x5c, 0x100317284\nLDR             D1, [X8,#qword_1006356B0@PAGEOFF]                      ; +0x60, 0x100317288\nFDIV            D0, D0, D1                                             ; +0x64, 0x10031728c\nSTR             D0, [X19,#0x290]                                       ; +0x68, 0x100317290\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x6c, 0x100317294\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x70, 0x100317298\nADD             SP, SP, #0x30 ; '0'                                    ; +0x74, 0x10031729c\nRET                                                                    ; +0x78, 0x1003172a0", "xrefs": ["GJGarageLayer::FLAlert_Clicked @ 0x100306c34", "FollowRewardPage::FLAlert_Clicked @ 0x100425ff4"], "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"}