{"type": "func", "start": 7928900, "end": 7929148, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x78fc44 to 0x78fd3c (248 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x78fd40\n// > <???> @ 0x700e0\n// > <???> @ 0x1178ab0\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 GJGarageLayer::FLAlert_Clicked(GJGarageLayer *a1, FLAlertLayer *a2, bool a3)\n{\n  GameManager *v5; // x0\n  GameManager *v6; // x0\n  GameManager *v7; // x0\n  GameManager *v8; // x0\n\n  if ( a3 )\n  {\n    if ( a2->getTag(a2) == 1 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v6 = GameManager::sharedState();\n      GameManager::rateGame(v6);\n    }\n    else if ( a2->getTag(a2) == 2 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v7 = GameManager::sharedState();\n      GameManager::likeFacebook(v7);\n    }\n    else if ( a2->getTag(a2) == 3 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v8 = GameManager::sharedState();\n      GameManager::followTwitter(v8);\n    }\n    else if ( a2->getTag(a2) == 4 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v5 = GameManager::sharedState();\n      GameManager::subYouTube(v5);\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x78fc44 to 0x78fd3c (248 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x78fd40\n; > <???> @ 0x700e0\n; > <???> @ 0x1178ab0\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x78fc44\nUXTB            W2, W2                                                 ; +0x4, 0x78fc48\nMOV             X29, SP                                                ; +0x8, 0x78fc4c\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x78fc50\nCBNZ            W2, loc_78FC64                                         ; +0x10, 0x78fc54\nLDP             X19, X20, [SP,#var_s10]                                ; +0x14, 0x78fc58\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x18, 0x78fc5c\nRET                                                                    ; +0x1c, 0x78fc60\nMOV             X20, X1                                                ; +0x20, 0x78fc64\nLDR             X1, [X1]                                               ; +0x24, 0x78fc68\nMOV             X19, X0                                                ; +0x28, 0x78fc6c\nMOV             X0, X20                                                ; +0x2c, 0x78fc70\nLDR             X1, [X1,#0x40]                                         ; +0x30, 0x78fc74\nBLR             X1                                                     ; +0x34, 0x78fc78\nCMP             W0, #1                                                 ; +0x38, 0x78fc7c\nB.EQ            loc_78FCE8                                             ; +0x3c, 0x78fc80\nLDR             X1, [X20]                                              ; +0x40, 0x78fc84\nMOV             X0, X20                                                ; +0x44, 0x78fc88\nLDR             X1, [X1,#0x40]                                         ; +0x48, 0x78fc8c\nBLR             X1                                                     ; +0x4c, 0x78fc90\nCMP             W0, #2                                                 ; +0x50, 0x78fc94\nB.EQ            loc_78FD04                                             ; +0x54, 0x78fc98\nLDR             X1, [X20]                                              ; +0x58, 0x78fc9c\nMOV             X0, X20                                                ; +0x5c, 0x78fca0\nLDR             X1, [X1,#0x40]                                         ; +0x60, 0x78fca4\nBLR             X1                                                     ; +0x64, 0x78fca8\nCMP             W0, #3                                                 ; +0x68, 0x78fcac\nB.EQ            loc_78FD20                                             ; +0x6c, 0x78fcb0\nLDR             X1, [X20]                                              ; +0x70, 0x78fcb4\nMOV             X0, X20                                                ; +0x74, 0x78fcb8\nLDR             X1, [X1,#0x40]                                         ; +0x78, 0x78fcbc\nBLR             X1                                                     ; +0x7c, 0x78fcc0\nCMP             W0, #4                                                 ; +0x80, 0x78fcc4\nB.NE            loc_78FC58                                             ; +0x84, 0x78fcc8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x88, 0x78fccc\nADD             X19, X19, #0x1A8                                       ; +0x8c, 0x78fcd0\nSTR             X19, [X0,#0x340]                                       ; +0x90, 0x78fcd4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x94, 0x78fcd8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x98, 0x78fcdc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x9c, 0x78fce0\nB               _ZN11GameManager10subYouTubeEv; GameManager::subYouTube(void) ; +0xa0, 0x78fce4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa4, 0x78fce8\nADD             X19, X19, #0x1A8                                       ; +0xa8, 0x78fcec\nSTR             X19, [X0,#0x340]                                       ; +0xac, 0x78fcf0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xb0, 0x78fcf4\nLDP             X19, X20, [SP,#var_s10]                                ; +0xb4, 0x78fcf8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xb8, 0x78fcfc\nB               _ZN11GameManager8rateGameEv; GameManager::rateGame(void) ; +0xbc, 0x78fd00\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xc0, 0x78fd04\nADD             X19, X19, #0x1A8                                       ; +0xc4, 0x78fd08\nSTR             X19, [X0,#0x340]                                       ; +0xc8, 0x78fd0c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xcc, 0x78fd10\nLDP             X19, X20, [SP,#var_s10]                                ; +0xd0, 0x78fd14\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xd4, 0x78fd18\nB               _ZN11GameManager12likeFacebookEv; GameManager::likeFacebook(void) ; +0xd8, 0x78fd1c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xdc, 0x78fd20\nADD             X19, X19, #0x1A8                                       ; +0xe0, 0x78fd24\nSTR             X19, [X0,#0x340]                                       ; +0xe4, 0x78fd28\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe8, 0x78fd2c\nLDP             X19, X20, [SP,#var_s10]                                ; +0xec, 0x78fd30\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xf0, 0x78fd34\nB               _ZN11GameManager13followTwitterEv; GameManager::followTwitter(void) ; +0xf4, 0x78fd38", "xrefs": ["`non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x78fd40", "<???> @ 0x700e0", "<???> @ 0x1178ab0"], "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"}