{"type": "func", "start": 4297234672, "end": 4297234751, "name": "AchievementCell::updateBGColor", "pseudocode": "// \n// AchievementCell::updateBGColor from 0x1002298f0 to 0x10022993f (79 bytes)\n// \n// 0 xrefs:\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:27:06 +0000\n// \n\n__int64 __fastcall AchievementCell::updateBGColor(__int64 a1, char a2)\n{\n  __int64 v2; // rdi\n  __int16 v4; // [rsp+8h] [rbp-8h] BYREF\n  char v5; // [rsp+Ah] [rbp-6h]\n  __int16 v6; // [rsp+Ch] [rbp-4h] BYREF\n  char v7; // [rsp+Eh] [rbp-2h]\n\n  v2 = *(_QWORD *)(a1 + 528);\n  if ( (a2 & 1) != 0 )\n  {\n    v5 = 62;\n    v4 = 29378;\n    return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v2 + 1216LL))(v2, &v4);\n  }\n  else\n  {\n    v7 = 44;\n    v6 = 22689;\n    return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v2 + 1216LL))(v2, &v6);\n  }\n}", "assembly": "; \n; AchievementCell::updateBGColor from 0x1002298f0 to 0x10022993f (79 bytes)\n; \n; 0 xrefs:\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:27:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002298f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002298f1\nsub     rsp, 10h                                                       ; +0x4, 0x1002298f4\nmov     rdi, [rdi+210h]                                                ; +0x8, 0x1002298f8\ntest    sil, 1                                                         ; +0xf, 0x1002298ff\njnz     short loc_100229922                                            ; +0x13, 0x100229903\nmov     [rbp+var_2], 2Ch ; ','                                         ; +0x15, 0x100229905\nmov     [rbp+var_4], 58A1h                                             ; +0x19, 0x100229909\nmov     rax, [rdi]                                                     ; +0x1f, 0x10022990f\nlea     rsi, [rbp+var_4]                                               ; +0x22, 0x100229912\ncall    qword ptr [rax+4C0h]                                           ; +0x26, 0x100229916\nadd     rsp, 10h                                                       ; +0x2c, 0x10022991c\npop     rbp                                                            ; +0x30, 0x100229920\nretn                                                                   ; +0x31, 0x100229921\nmov     [rbp+var_6], 3Eh ; '>'                                         ; +0x32, 0x100229922\nmov     [rbp+var_8], 72C2h                                             ; +0x36, 0x100229926\nmov     rax, [rdi]                                                     ; +0x3c, 0x10022992c\nlea     rsi, [rbp+var_8]                                               ; +0x3f, 0x10022992f\ncall    qword ptr [rax+4C0h]                                           ; +0x43, 0x100229933\nadd     rsp, 10h                                                       ; +0x49, 0x100229939\npop     rbp                                                            ; +0x4d, 0x10022993d\nretn                                                                   ; +0x4e, 0x10022993e", "xrefs": [], "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"}