{"type": "func", "start": 4295189728, "end": 4295189794, "name": "GameStatsManager::getBaseCurrency", "pseudocode": "// \n// GameStatsManager::getBaseCurrency from 0x1000364e0 to 0x100036522 (66 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:19:32 +0000\n// \n\n__int64 __fastcall GameStatsManager::getBaseCurrency(__int64 a1, int a2, int a3, unsigned int a4)\n{\n  __int64 result; // rax\n  int v5; // edx\n  unsigned int v6; // esi\n\n  if ( a3 )\n  {\n    if ( a4 > 0x14 )\n      return (unsigned int)(20 * a2 + 20);\n    result = 400;\n    v5 = 1327104;\n    if ( !_bittest(&v5, a4) )\n      return (unsigned int)(20 * a2 + 20);\n  }\n  else\n  {\n    v6 = a2 - 2;\n    result = 0;\n    if ( v6 <= 8 )\n      return dword_100A03CA4[v6];\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::getBaseCurrency from 0x1000364e0 to 0x100036522 (66 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:19:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000364e0\nmov     rbp, rsp                                                       ; +0x1, 0x1000364e1\ntest    edx, edx                                                       ; +0x4, 0x1000364e4\njz      short loc_1000364FE                                            ; +0x6, 0x1000364e6\ncmp     ecx, 14h                                                       ; +0x8, 0x1000364e8\nja      short loc_100036516                                            ; +0xb, 0x1000364eb\nmov     eax, 190h                                                      ; +0xd, 0x1000364ed\nmov     edx, 144000h                                                   ; +0x12, 0x1000364f2\nbt      edx, ecx                                                       ; +0x17, 0x1000364f7\njnb     short loc_100036516                                            ; +0x1a, 0x1000364fa\npop     rbp                                                            ; +0x1c, 0x1000364fc\nretn                                                                   ; +0x1d, 0x1000364fd\nadd     esi, 0FFFFFFFEh                                                ; +0x1e, 0x1000364fe\nxor     eax, eax                                                       ; +0x21, 0x100036501\ncmp     esi, 8                                                         ; +0x23, 0x100036503\nja      short loc_1000364FC                                            ; +0x26, 0x100036506\nmov     eax, esi                                                       ; +0x28, 0x100036508\nlea     rcx, dword_100A03CA4                                           ; +0x2a, 0x10003650a\nmov     eax, [rcx+rax*4]                                               ; +0x31, 0x100036511\npop     rbp                                                            ; +0x34, 0x100036514\nretn                                                                   ; +0x35, 0x100036515\nlea     eax, [rsi+rsi*4]                                               ; +0x36, 0x100036516\nlea     eax, ds:14h[rax*4]                                             ; +0x39, 0x100036519\npop     rbp                                                            ; +0x40, 0x100036520\nretn                                                                   ; +0x41, 0x100036521", "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"}