{"type": "func", "start": 4298570160, "end": 4298570386, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x10036f9b0 to 0x10036fa92 (226 bytes)\n// \n// 2 xrefs:\n// > sub_10036FAA0 @ 0x10036faac\n// > <???> @ 0x10091bb18\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 GJGarageLayer::FLAlert_Clicked(GJGarageLayer *a1, FLAlertLayer *a2, bool a3)\n{\n  GameManager *v3; // rax\n  GameManager *v4; // rax\n  GameManager *v5; // rax\n  GameManager *v6; // rax\n\n  if ( a3 )\n  {\n    if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v3 = GameManager::sharedState();\n      GameManager::rateGame(v3);\n    }\n    else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 2 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v4 = GameManager::sharedState();\n      GameManager::likeFacebook(v4);\n    }\n    else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 3 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v5 = GameManager::sharedState();\n      GameManager::followTwitter(v5);\n    }\n    else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 4 )\n    {\n      GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;\n      v6 = GameManager::sharedState();\n      GameManager::subYouTube(v6);\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x10036f9b0 to 0x10036fa92 (226 bytes)\n; \n; 2 xrefs:\n; > sub_10036FAA0 @ 0x10036faac\n; > <???> @ 0x10091bb18\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, 0x10036f9b0\nmov     rbp, rsp                                                       ; +0x1, 0x10036f9b1\npush    r14                                                            ; +0x4, 0x10036f9b4\npush    rbx                                                            ; +0x6, 0x10036f9b6\ntest    edx, edx                                                       ; +0x7, 0x10036f9b7\njz      loc_10036FA8D                                                  ; +0x9, 0x10036f9b9\nmov     r14, rsi                                                       ; +0xf, 0x10036f9bf\nmov     rbx, rdi                                                       ; +0x12, 0x10036f9c2\nmov     rax, [rsi]                                                     ; +0x15, 0x10036f9c5\nmov     rdi, rsi                                                       ; +0x18, 0x10036f9c8\ncall    qword ptr [rax+40h]                                            ; +0x1b, 0x10036f9cb\ncmp     eax, 1                                                         ; +0x1e, 0x10036f9ce\njnz     short loc_10036F9F7                                            ; +0x21, 0x10036f9d1\ncall    GameManager__sharedState                                       ; +0x23, 0x10036f9d3\nadd     rbx, 1A8h                                                      ; +0x28, 0x10036f9d8\nmov     [rax+380h], rbx                                                ; +0x2f, 0x10036f9df\ncall    GameManager__sharedState                                       ; +0x36, 0x10036f9e6\nmov     rdi, rax                                                       ; +0x3b, 0x10036f9eb\npop     rbx                                                            ; +0x3e, 0x10036f9ee\npop     r14                                                            ; +0x3f, 0x10036f9ef\npop     rbp                                                            ; +0x41, 0x10036f9f1\njmp     GameManager__rateGame                                          ; +0x42, 0x10036f9f2\nmov     rax, [r14]                                                     ; +0x47, 0x10036f9f7\nmov     rdi, r14                                                       ; +0x4a, 0x10036f9fa\ncall    qword ptr [rax+40h]                                            ; +0x4d, 0x10036f9fd\ncmp     eax, 2                                                         ; +0x50, 0x10036fa00\njnz     short loc_10036FA29                                            ; +0x53, 0x10036fa03\ncall    GameManager__sharedState                                       ; +0x55, 0x10036fa05\nadd     rbx, 1A8h                                                      ; +0x5a, 0x10036fa0a\nmov     [rax+380h], rbx                                                ; +0x61, 0x10036fa11\ncall    GameManager__sharedState                                       ; +0x68, 0x10036fa18\nmov     rdi, rax                                                       ; +0x6d, 0x10036fa1d\npop     rbx                                                            ; +0x70, 0x10036fa20\npop     r14                                                            ; +0x71, 0x10036fa21\npop     rbp                                                            ; +0x73, 0x10036fa23\njmp     GameManager__likeFacebook                                      ; +0x74, 0x10036fa24\nmov     rax, [r14]                                                     ; +0x79, 0x10036fa29\nmov     rdi, r14                                                       ; +0x7c, 0x10036fa2c\ncall    qword ptr [rax+40h]                                            ; +0x7f, 0x10036fa2f\ncmp     eax, 3                                                         ; +0x82, 0x10036fa32\njnz     short loc_10036FA5B                                            ; +0x85, 0x10036fa35\ncall    GameManager__sharedState                                       ; +0x87, 0x10036fa37\nadd     rbx, 1A8h                                                      ; +0x8c, 0x10036fa3c\nmov     [rax+380h], rbx                                                ; +0x93, 0x10036fa43\ncall    GameManager__sharedState                                       ; +0x9a, 0x10036fa4a\nmov     rdi, rax                                                       ; +0x9f, 0x10036fa4f\npop     rbx                                                            ; +0xa2, 0x10036fa52\npop     r14                                                            ; +0xa3, 0x10036fa53\npop     rbp                                                            ; +0xa5, 0x10036fa55\njmp     GameManager__followTwitter                                     ; +0xa6, 0x10036fa56\nmov     rax, [r14]                                                     ; +0xab, 0x10036fa5b\nmov     rdi, r14                                                       ; +0xae, 0x10036fa5e\ncall    qword ptr [rax+40h]                                            ; +0xb1, 0x10036fa61\ncmp     eax, 4                                                         ; +0xb4, 0x10036fa64\njnz     short loc_10036FA8D                                            ; +0xb7, 0x10036fa67\ncall    GameManager__sharedState                                       ; +0xb9, 0x10036fa69\nadd     rbx, 1A8h                                                      ; +0xbe, 0x10036fa6e\nmov     [rax+380h], rbx                                                ; +0xc5, 0x10036fa75\ncall    GameManager__sharedState                                       ; +0xcc, 0x10036fa7c\nmov     rdi, rax                                                       ; +0xd1, 0x10036fa81\npop     rbx                                                            ; +0xd4, 0x10036fa84\npop     r14                                                            ; +0xd5, 0x10036fa85\npop     rbp                                                            ; +0xd7, 0x10036fa87\njmp     GameManager__subYouTube                                        ; +0xd8, 0x10036fa88\npop     rbx                                                            ; +0xdd, 0x10036fa8d\npop     r14                                                            ; +0xde, 0x10036fa8e\npop     rbp                                                            ; +0xe0, 0x10036fa90\nretn                                                                   ; +0xe1, 0x10036fa91", "xrefs": ["sub_10036FAA0 @ 0x10036faac", "<???> @ 0x10091bb18"], "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"}