{"type": "func", "start": 4295171952, "end": 4295172023, "name": "GameStatsManager::getStatFromKey", "pseudocode": "// \n// GameStatsManager::getStatFromKey from 0x100031f70 to 0x100031fb7 (71 bytes)\n// \n// 4 xrefs:\n// > GJPathSprite::updateState @ 0x1002e955f\n// > GJPathsLayer::onPath @ 0x1002e95e1\n// > GJPathPage::init @ 0x1002ea96b\n// > GJPathPage::init @ 0x1002ea987\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:30 +0000\n// \n\n__int64 __fastcall GameStatsManager::getStatFromKey(__int64 a1, __int64 a2, __m128 a3)\n{\n  const char *v3; // rsi\n  __int64 result; // rax\n  unsigned int v5; // ebx\n  char v6; // [rsp+0h] [rbp-20h] BYREF\n  char v7; // [rsp+1h] [rbp-1Fh] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  GameToolbox::intToString(&v6, a2);\n  if ( (v6 & 1) != 0 )\n    v3 = (const char *)__p;\n  else\n    v3 = &v7;\n  result = GameStatsManager::getStat(a1, v3, a3);\n  if ( (v6 & 1) != 0 )\n  {\n    v5 = result;\n    operator delete(__p);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::getStatFromKey from 0x100031f70 to 0x100031fb7 (71 bytes)\n; \n; 4 xrefs:\n; > GJPathSprite::updateState @ 0x1002e955f\n; > GJPathsLayer::onPath @ 0x1002e95e1\n; > GJPathPage::init @ 0x1002ea96b\n; > GJPathPage::init @ 0x1002ea987\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:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100031f70\nmov     rbp, rsp                                                       ; +0x1, 0x100031f71\npush    rbx                                                            ; +0x4, 0x100031f74\nsub     rsp, 18h                                                       ; +0x5, 0x100031f75\nmov     rbx, rdi                                                       ; +0x9, 0x100031f79\nlea     rdi, [rbp+var_20]                                              ; +0xc, 0x100031f7c\ncall    GameToolbox__intToString                                       ; +0x10, 0x100031f80\ntest    [rbp+var_20], 1                                                ; +0x15, 0x100031f85\njz      short loc_100031F91                                            ; +0x19, 0x100031f89\nmov     rsi, [rbp+__p]                                                 ; +0x1b, 0x100031f8b\njmp     short loc_100031F95                                            ; +0x1f, 0x100031f8f\nlea     rsi, [rbp+var_1F]                                              ; +0x21, 0x100031f91\nmov     rdi, rbx                                                       ; +0x25, 0x100031f95\ncall    GameStatsManager__getStat                                      ; +0x28, 0x100031f98\ntest    [rbp+var_20], 1                                                ; +0x2d, 0x100031f9d\njz      short loc_100031FB0                                            ; +0x31, 0x100031fa1\nmov     rdi, [rbp+__p]; __p                                            ; +0x33, 0x100031fa3\nmov     ebx, eax                                                       ; +0x37, 0x100031fa7\ncall    __ZdlPv; operator delete(void *)                               ; +0x39, 0x100031fa9\nmov     eax, ebx                                                       ; +0x3e, 0x100031fae\nadd     rsp, 18h                                                       ; +0x40, 0x100031fb0\npop     rbx                                                            ; +0x44, 0x100031fb4\npop     rbp                                                            ; +0x45, 0x100031fb5\nretn                                                                   ; +0x46, 0x100031fb6", "xrefs": ["GJPathSprite::updateState @ 0x1002e955f", "GJPathsLayer::onPath @ 0x1002e95e1", "GJPathPage::init @ 0x1002ea96b", "GJPathPage::init @ 0x1002ea987"], "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"}