{"type": "func", "start": 4295173120, "end": 4295173184, "name": "GameStatsManager::setStatIfHigher", "pseudocode": "// \n// GameStatsManager::setStatIfHigher from 0x100032400 to 0x100032440 (64 bytes)\n// \n// 2 xrefs:\n// > GameManager::verifySyncedCoins @ 0x100368ea2\n// > sub_10053C050 @ 0x10053cc81\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:19:31 +0000\n// \n\n__int64 __fastcall GameStatsManager::setStatIfHigher(__int64 a1, const char *a2, int a3, __m128 a4)\n{\n  __int64 result; // rax\n\n  result = GameStatsManager::getStat(a1, a2, a4);\n  if ( (int)result < a3 )\n    return GameStatsManager::setStat(a1, a2, a3, a4);\n  return result;\n}", "assembly": "; \n; GameStatsManager::setStatIfHigher from 0x100032400 to 0x100032440 (64 bytes)\n; \n; 2 xrefs:\n; > GameManager::verifySyncedCoins @ 0x100368ea2\n; > sub_10053C050 @ 0x10053cc81\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:19:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x100032400\nmov     rbp, rsp                                                       ; +0x1, 0x100032401\npush    r15                                                            ; +0x4, 0x100032404\npush    r14                                                            ; +0x6, 0x100032406\npush    rbx                                                            ; +0x8, 0x100032408\npush    rax                                                            ; +0x9, 0x100032409\nmov     r15d, edx                                                      ; +0xa, 0x10003240a\nmov     rbx, rsi                                                       ; +0xd, 0x10003240d\nmov     r14, rdi                                                       ; +0x10, 0x100032410\ncall    GameStatsManager__getStat                                      ; +0x13, 0x100032413\ncmp     eax, r15d                                                      ; +0x18, 0x100032418\njge     short loc_100032435                                            ; +0x1b, 0x10003241b\nmov     rdi, r14                                                       ; +0x1d, 0x10003241d\nmov     rsi, rbx                                                       ; +0x20, 0x100032420\nmov     edx, r15d                                                      ; +0x23, 0x100032423\nadd     rsp, 8                                                         ; +0x26, 0x100032426\npop     rbx                                                            ; +0x2a, 0x10003242a\npop     r14                                                            ; +0x2b, 0x10003242b\npop     r15                                                            ; +0x2d, 0x10003242d\npop     rbp                                                            ; +0x2f, 0x10003242f\njmp     GameStatsManager__setStat                                      ; +0x30, 0x100032430\nadd     rsp, 8                                                         ; +0x35, 0x100032435\npop     rbx                                                            ; +0x39, 0x100032439\npop     r14                                                            ; +0x3a, 0x10003243a\npop     r15                                                            ; +0x3c, 0x10003243c\npop     rbp                                                            ; +0x3e, 0x10003243e\nretn                                                                   ; +0x3f, 0x10003243f", "xrefs": ["GameManager::verifySyncedCoins @ 0x100368ea2", "sub_10053C050 @ 0x10053cc81"], "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"}