{"type": "func", "start": 4297267856, "end": 4297267995, "name": "GJLocalLevelScoreCell::updateBGColor", "pseudocode": "// \n// GJLocalLevelScoreCell::updateBGColor from 0x100231a90 to 0x100231b1b (139 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:10 +0000\n// \n\n__int64 __fastcall GJLocalLevelScoreCell::updateBGColor(__int64 a1, char a2)\n{\n  __int64 v3; // rax\n  __int64 *v4; // rdi\n  __int64 v5; // rax\n  __int16 *v6; // rsi\n  __int16 v8; // [rsp+Ch] [rbp-14h] BYREF\n  char v9; // [rsp+Eh] [rbp-12h]\n  __int16 v10; // [rsp+10h] [rbp-10h] BYREF\n  char v11; // [rsp+12h] [rbp-Eh]\n  __int16 v12; // [rsp+14h] [rbp-Ch] BYREF\n  char v13; // [rsp+16h] [rbp-Ah]\n\n  v3 = *(_QWORD *)(a1 + 552);\n  if ( v3 && *(_BYTE *)(v3 + 64) == 1 )\n  {\n    v4 = *(__int64 **)(a1 + 528);\n    v9 = 10;\n    v8 = -26906;\n    v5 = *v4;\n    v6 = &v8;\n  }\n  else\n  {\n    v4 = *(__int64 **)(a1 + 528);\n    if ( (a2 & 1) != 0 )\n    {\n      v11 = 62;\n      v10 = 29378;\n      v5 = *v4;\n      v6 = &v10;\n    }\n    else\n    {\n      v13 = 44;\n      v12 = 22689;\n      v5 = *v4;\n      v6 = &v12;\n    }\n  }\n  (*(void (__fastcall **)(__int64 *, __int16 *))(v5 + 1216))(v4, v6);\n  return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 528) + 1168LL))(*(_QWORD *)(a1 + 528), 255);\n}", "assembly": "; \n; GJLocalLevelScoreCell::updateBGColor from 0x100231a90 to 0x100231b1b (139 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:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100231a90\nmov     rbp, rsp                                                       ; +0x1, 0x100231a91\npush    rbx                                                            ; +0x4, 0x100231a94\nsub     rsp, 18h                                                       ; +0x5, 0x100231a95\nmov     rbx, rdi                                                       ; +0x9, 0x100231a99\nmov     rax, [rdi+228h]                                                ; +0xc, 0x100231a9c\ntest    rax, rax                                                       ; +0x13, 0x100231aa3\njz      short loc_100231AC8                                            ; +0x16, 0x100231aa6\ncmp     byte ptr [rax+40h], 1                                          ; +0x18, 0x100231aa8\njnz     short loc_100231AC8                                            ; +0x1c, 0x100231aac\nmov     rdi, [rbx+210h]                                                ; +0x1e, 0x100231aae\nmov     [rbp+var_12], 0Ah                                              ; +0x25, 0x100231ab5\nmov     [rbp+var_14], 96E6h                                            ; +0x29, 0x100231ab9\nmov     rax, [rdi]                                                     ; +0x2f, 0x100231abf\nlea     rsi, [rbp+var_14]                                              ; +0x32, 0x100231ac2\njmp     short loc_100231AF9                                            ; +0x36, 0x100231ac6\nmov     rdi, [rbx+210h]                                                ; +0x38, 0x100231ac8\ntest    sil, 1                                                         ; +0x3f, 0x100231acf\njnz     short loc_100231AE8                                            ; +0x43, 0x100231ad3\nmov     [rbp+var_A], 2Ch ; ','                                         ; +0x45, 0x100231ad5\nmov     [rbp+var_C], 58A1h                                             ; +0x49, 0x100231ad9\nmov     rax, [rdi]                                                     ; +0x4f, 0x100231adf\nlea     rsi, [rbp+var_C]                                               ; +0x52, 0x100231ae2\njmp     short loc_100231AF9                                            ; +0x56, 0x100231ae6\nmov     [rbp+var_E], 3Eh ; '>'                                         ; +0x58, 0x100231ae8\nmov     [rbp+var_10], 72C2h                                            ; +0x5c, 0x100231aec\nmov     rax, [rdi]                                                     ; +0x62, 0x100231af2\nlea     rsi, [rbp+var_10]                                              ; +0x65, 0x100231af5\ncall    qword ptr [rax+4C0h]                                           ; +0x69, 0x100231af9\nmov     rdi, [rbx+210h]                                                ; +0x6f, 0x100231aff\nmov     rax, [rdi]                                                     ; +0x76, 0x100231b06\nmov     esi, 0FFh                                                      ; +0x79, 0x100231b09\ncall    qword ptr [rax+490h]                                           ; +0x7e, 0x100231b0e\nadd     rsp, 18h                                                       ; +0x84, 0x100231b14\npop     rbx                                                            ; +0x88, 0x100231b18\npop     rbp                                                            ; +0x89, 0x100231b19\nretn                                                                   ; +0x8a, 0x100231b1a", "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"}