{"type": "func", "start": 4298477184, "end": 4298477410, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x100358e80 to 0x100358f62 (226 bytes)\n// \n// 2 xrefs:\n// > sub_100358F70 @ 0x100358f7c\n// > <???> @ 0x100b23cd8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:53 +0000\n// \n\nvoid __fastcall GJGarageLayer::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  __int64 v5; // rdx\n  double v6; // xmm0_8\n  __int64 v7; // rax\n  __int64 v8; // rdx\n  __int64 v9; // rax\n  __int64 v10; // rdx\n  double v11; // xmm0_8\n  __int64 v12; // rax\n  __int64 v13; // rdx\n  __int64 v14; // rax\n  __int64 v15; // rdx\n  double v16; // xmm0_8\n  __int64 v17; // rax\n  __int64 v18; // rdx\n  __int64 v19; // rax\n  __int64 v20; // rdx\n  double v21; // xmm0_8\n  __int64 v22; // rax\n\n  if ( a3 )\n  {\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )\n    {\n      GameManager::sharedState(a2, a2, v3);\n      *(_QWORD *)(v4 + 936) = a1 + 424;\n      *(_QWORD *)&v6 = GameManager::sharedState(a2, a2, v5).u64[0];\n      GameManager::rateGame(v7, v6);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )\n    {\n      GameManager::sharedState(a2, a2, v8);\n      *(_QWORD *)(v9 + 936) = a1 + 424;\n      *(_QWORD *)&v11 = GameManager::sharedState(a2, a2, v10).u64[0];\n      sub_100369AF0(v12, v11);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 )\n    {\n      GameManager::sharedState(a2, a2, v13);\n      *(_QWORD *)(v14 + 936) = a1 + 424;\n      *(_QWORD *)&v16 = GameManager::sharedState(a2, a2, v15).u64[0];\n      sub_100369B60(v17, v16);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 4 )\n    {\n      GameManager::sharedState(a2, a2, v18);\n      *(_QWORD *)(v19 + 936) = a1 + 424;\n      *(_QWORD *)&v21 = GameManager::sharedState(a2, a2, v20).u64[0];\n      sub_100369BD0(v22, v21);\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x100358e80 to 0x100358f62 (226 bytes)\n; \n; 2 xrefs:\n; > sub_100358F70 @ 0x100358f7c\n; > <???> @ 0x100b23cd8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:53 +0000\n; \npush    rbp                                                            ; +0x0, 0x100358e80\nmov     rbp, rsp                                                       ; +0x1, 0x100358e81\npush    r14                                                            ; +0x4, 0x100358e84\npush    rbx                                                            ; +0x6, 0x100358e86\ntest    edx, edx                                                       ; +0x7, 0x100358e87\njz      loc_100358F5D                                                  ; +0x9, 0x100358e89\nmov     r14, rsi                                                       ; +0xf, 0x100358e8f\nmov     rbx, rdi                                                       ; +0x12, 0x100358e92\nmov     rax, [rsi]                                                     ; +0x15, 0x100358e95\nmov     rdi, rsi                                                       ; +0x18, 0x100358e98\ncall    qword ptr [rax+40h]                                            ; +0x1b, 0x100358e9b\ncmp     eax, 1                                                         ; +0x1e, 0x100358e9e\njnz     short loc_100358EC7                                            ; +0x21, 0x100358ea1\ncall    GameManager__sharedState                                       ; +0x23, 0x100358ea3\nadd     rbx, 1A8h                                                      ; +0x28, 0x100358ea8\nmov     [rax+3A8h], rbx                                                ; +0x2f, 0x100358eaf\ncall    GameManager__sharedState                                       ; +0x36, 0x100358eb6\nmov     rdi, rax                                                       ; +0x3b, 0x100358ebb\npop     rbx                                                            ; +0x3e, 0x100358ebe\npop     r14                                                            ; +0x3f, 0x100358ebf\npop     rbp                                                            ; +0x41, 0x100358ec1\njmp     GameManager__rateGame                                          ; +0x42, 0x100358ec2\nmov     rax, [r14]                                                     ; +0x47, 0x100358ec7\nmov     rdi, r14                                                       ; +0x4a, 0x100358eca\ncall    qword ptr [rax+40h]                                            ; +0x4d, 0x100358ecd\ncmp     eax, 2                                                         ; +0x50, 0x100358ed0\njnz     short loc_100358EF9                                            ; +0x53, 0x100358ed3\ncall    GameManager__sharedState                                       ; +0x55, 0x100358ed5\nadd     rbx, 1A8h                                                      ; +0x5a, 0x100358eda\nmov     [rax+3A8h], rbx                                                ; +0x61, 0x100358ee1\ncall    GameManager__sharedState                                       ; +0x68, 0x100358ee8\nmov     rdi, rax                                                       ; +0x6d, 0x100358eed\npop     rbx                                                            ; +0x70, 0x100358ef0\npop     r14                                                            ; +0x71, 0x100358ef1\npop     rbp                                                            ; +0x73, 0x100358ef3\njmp     sub_100369AF0                                                  ; +0x74, 0x100358ef4\nmov     rax, [r14]                                                     ; +0x79, 0x100358ef9\nmov     rdi, r14                                                       ; +0x7c, 0x100358efc\ncall    qword ptr [rax+40h]                                            ; +0x7f, 0x100358eff\ncmp     eax, 3                                                         ; +0x82, 0x100358f02\njnz     short loc_100358F2B                                            ; +0x85, 0x100358f05\ncall    GameManager__sharedState                                       ; +0x87, 0x100358f07\nadd     rbx, 1A8h                                                      ; +0x8c, 0x100358f0c\nmov     [rax+3A8h], rbx                                                ; +0x93, 0x100358f13\ncall    GameManager__sharedState                                       ; +0x9a, 0x100358f1a\nmov     rdi, rax                                                       ; +0x9f, 0x100358f1f\npop     rbx                                                            ; +0xa2, 0x100358f22\npop     r14                                                            ; +0xa3, 0x100358f23\npop     rbp                                                            ; +0xa5, 0x100358f25\njmp     sub_100369B60                                                  ; +0xa6, 0x100358f26\nmov     rax, [r14]                                                     ; +0xab, 0x100358f2b\nmov     rdi, r14                                                       ; +0xae, 0x100358f2e\ncall    qword ptr [rax+40h]                                            ; +0xb1, 0x100358f31\ncmp     eax, 4                                                         ; +0xb4, 0x100358f34\njnz     short loc_100358F5D                                            ; +0xb7, 0x100358f37\ncall    GameManager__sharedState                                       ; +0xb9, 0x100358f39\nadd     rbx, 1A8h                                                      ; +0xbe, 0x100358f3e\nmov     [rax+3A8h], rbx                                                ; +0xc5, 0x100358f45\ncall    GameManager__sharedState                                       ; +0xcc, 0x100358f4c\nmov     rdi, rax                                                       ; +0xd1, 0x100358f51\npop     rbx                                                            ; +0xd4, 0x100358f54\npop     r14                                                            ; +0xd5, 0x100358f55\npop     rbp                                                            ; +0xd7, 0x100358f57\njmp     sub_100369BD0                                                  ; +0xd8, 0x100358f58\npop     rbx                                                            ; +0xdd, 0x100358f5d\npop     r14                                                            ; +0xde, 0x100358f5e\npop     rbp                                                            ; +0xe0, 0x100358f60\nretn                                                                   ; +0xe1, 0x100358f61", "xrefs": ["sub_100358F70 @ 0x100358f7c", "<???> @ 0x100b23cd8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}