{"type": "func", "start": 4202736, "end": 4202892, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x4020f0 to 0x40218c (156 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x402190\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; // r0\n  GameManager *v6; // r0\n  GameManager *v7; // r0\n  GameManager *v8; // r0\n\n  if ( a3 )\n  {\n    if ( a2->getTag(a2) == 1 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v5 = GameManager::sharedState();\n      GameManager::rateGame(v5);\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      v6 = GameManager::sharedState();\n      GameManager::followTwitter(v6);\n    }\n    else if ( a2->getTag(a2) == 4 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v8 = GameManager::sharedState();\n      GameManager::subYouTube(v8);\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x4020f0 to 0x40218c (156 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x402190\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            {R3-R5,LR}                                             ; +0x0, 0x4020f0\nMOV             R4, R0                                                 ; +0x2, 0x4020f2\nMOV             R5, R1                                                 ; +0x4, 0x4020f4\nCMP             R2, #0                                                 ; +0x6, 0x4020f6\nBEQ             locret_40218A                                          ; +0x8, 0x4020f8\nLDR             R3, [R1]                                               ; +0xa, 0x4020fa\nMOV             R0, R1                                                 ; +0xc, 0x4020fc\nLDR             R3, [R3,#0x20]                                         ; +0xe, 0x4020fe\nBLX             R3                                                     ; +0x10, 0x402100\nCMP             R0, #1                                                 ; +0x12, 0x402102\nBNE             loc_40211E                                             ; +0x14, 0x402104\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x402106\nADD.W           R4, R4, #0x144                                         ; +0x1a, 0x40210a\nSTR.W           R4, [R0,#0x2A8]                                        ; +0x1e, 0x40210e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x22, 0x402112\nPOP.W           {R3-R5,LR}                                             ; +0x26, 0x402116\nB.W             _ZN11GameManager8rateGameEv; GameManager::rateGame(void) ; +0x2a, 0x40211a\nLDR             R3, [R5]                                               ; +0x2e, 0x40211e\nMOV             R0, R5                                                 ; +0x30, 0x402120\nLDR             R3, [R3,#0x20]                                         ; +0x32, 0x402122\nBLX             R3                                                     ; +0x34, 0x402124\nCMP             R0, #2                                                 ; +0x36, 0x402126\nBEQ             loc_40214E                                             ; +0x38, 0x402128\nLDR             R3, [R5]                                               ; +0x3a, 0x40212a\nMOV             R0, R5                                                 ; +0x3c, 0x40212c\nLDR             R3, [R3,#0x20]                                         ; +0x3e, 0x40212e\nBLX             R3                                                     ; +0x40, 0x402130\nCMP             R0, #3                                                 ; +0x42, 0x402132\nBNE             loc_402166                                             ; +0x44, 0x402134\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x46, 0x402136\nADD.W           R4, R4, #0x144                                         ; +0x4a, 0x40213a\nSTR.W           R4, [R0,#0x2A8]                                        ; +0x4e, 0x40213e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x52, 0x402142\nPOP.W           {R3-R5,LR}                                             ; +0x56, 0x402146\nB.W             _ZN11GameManager13followTwitterEv; GameManager::followTwitter(void) ; +0x5a, 0x40214a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x5e, 0x40214e\nADD.W           R4, R4, #0x144                                         ; +0x62, 0x402152\nSTR.W           R4, [R0,#0x2A8]                                        ; +0x66, 0x402156\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6a, 0x40215a\nPOP.W           {R3-R5,LR}                                             ; +0x6e, 0x40215e\nB.W             _ZN11GameManager12likeFacebookEv; GameManager::likeFacebook(void) ; +0x72, 0x402162\nLDR             R3, [R5]                                               ; +0x76, 0x402166\nMOV             R0, R5                                                 ; +0x78, 0x402168\nLDR             R3, [R3,#0x20]                                         ; +0x7a, 0x40216a\nBLX             R3                                                     ; +0x7c, 0x40216c\nCMP             R0, #4                                                 ; +0x7e, 0x40216e\nBNE             locret_40218A                                          ; +0x80, 0x402170\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x82, 0x402172\nADD.W           R4, R4, #0x144                                         ; +0x86, 0x402176\nSTR.W           R4, [R0,#0x2A8]                                        ; +0x8a, 0x40217a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x8e, 0x40217e\nPOP.W           {R3-R5,LR}                                             ; +0x92, 0x402182\nB.W             _ZN11GameManager10subYouTubeEv; GameManager::subYouTube(void) ; +0x96, 0x402186\nPOP             {R3-R5,PC}                                             ; +0x9a, 0x40218a", "xrefs": ["`non-virtual thunk to'GJGarageLayer::FLAlert_Clicked @ 0x402190"], "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"}