{"type": "func", "start": 4303924704, "end": 4303924895, "name": "CurrencySprite::spriteTypeToStat", "pseudocode": "// \n// CurrencySprite::spriteTypeToStat from 0x10088ade0 to 0x10088ae9f (191 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:37:01 +0000\n// \n\n__int64 __fastcall CurrencySprite::spriteTypeToStat(__int64 a1, int a2)\n{\n  __int64 result; // rax\n\n  result = a1;\n  switch ( a2 )\n  {\n    case 4:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 14385;\n      goto LABEL_14;\n    case 5:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 14641;\n      goto LABEL_14;\n    case 6:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 14129;\n      goto LABEL_14;\n    case 7:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13873;\n      goto LABEL_14;\n    case 8:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 12338;\n      goto LABEL_14;\n    case 9:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 12594;\n      goto LABEL_14;\n    case 10:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13106;\n      goto LABEL_14;\n    case 11:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13362;\n      goto LABEL_14;\n    case 12:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13618;\n      goto LABEL_14;\n    case 13:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13874;\n      goto LABEL_14;\n    case 14:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 14130;\n      goto LABEL_14;\n    case 16:\n      *(_BYTE *)a1 = 4;\n      *(_WORD *)(a1 + 1) = 13108;\nLABEL_14:\n      *(_BYTE *)(a1 + 3) = 0;\n      break;\n    default:\n      *(_BYTE *)a1 = 0;\n      *(_BYTE *)(a1 + 1) = 0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; CurrencySprite::spriteTypeToStat from 0x10088ade0 to 0x10088ae9f (191 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:37:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10088ade0\nmov     rbp, rsp                                                       ; +0x1, 0x10088ade1\nmov     rax, rdi                                                       ; +0x4, 0x10088ade4\nadd     esi, 0FFFFFFFCh; switch 13 cases                               ; +0x7, 0x10088ade7\ncmp     esi, 0Ch                                                       ; +0xa, 0x10088adea\nja      def_10088AE01; jumptable 000000010088AE01 default case, case 15 ; +0xd, 0x10088aded\nlea     rcx, jpt_10088AE01                                             ; +0x13, 0x10088adf3\nmovsxd  rdx, (jpt_10088AE01 - 10088AEA0h)[rcx+rsi*4]                   ; +0x1a, 0x10088adfa\nadd     rdx, rcx                                                       ; +0x1e, 0x10088adfe\njmp     rdx; switch jump                                               ; +0x21, 0x10088ae01\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 4           ; +0x23, 0x10088ae03\nmov     word ptr [rax+1], 3831h                                        ; +0x26, 0x10088ae06\njmp     short loc_10088AE85                                            ; +0x2c, 0x10088ae0c\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 14          ; +0x2e, 0x10088ae0e\nmov     word ptr [rax+1], 3732h                                        ; +0x31, 0x10088ae11\njmp     short loc_10088AE85                                            ; +0x37, 0x10088ae17\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 6           ; +0x39, 0x10088ae19\nmov     word ptr [rax+1], 3731h                                        ; +0x3c, 0x10088ae1c\njmp     short loc_10088AE85                                            ; +0x42, 0x10088ae22\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 9           ; +0x44, 0x10088ae24\nmov     word ptr [rax+1], 3132h                                        ; +0x47, 0x10088ae27\njmp     short loc_10088AE85                                            ; +0x4d, 0x10088ae2d\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 16          ; +0x4f, 0x10088ae2f\nmov     word ptr [rax+1], 3334h                                        ; +0x52, 0x10088ae32\njmp     short loc_10088AE85                                            ; +0x58, 0x10088ae38\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 5           ; +0x5a, 0x10088ae3a\nmov     word ptr [rax+1], 3931h                                        ; +0x5d, 0x10088ae3d\njmp     short loc_10088AE85                                            ; +0x63, 0x10088ae43\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 10          ; +0x65, 0x10088ae45\nmov     word ptr [rax+1], 3332h                                        ; +0x68, 0x10088ae48\njmp     short loc_10088AE85                                            ; +0x6e, 0x10088ae4e\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 11          ; +0x70, 0x10088ae50\nmov     word ptr [rax+1], 3432h                                        ; +0x73, 0x10088ae53\njmp     short loc_10088AE85                                            ; +0x79, 0x10088ae59\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 7           ; +0x7b, 0x10088ae5b\nmov     word ptr [rax+1], 3631h                                        ; +0x7e, 0x10088ae5e\njmp     short loc_10088AE85                                            ; +0x84, 0x10088ae64\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 8           ; +0x86, 0x10088ae66\nmov     word ptr [rax+1], 3032h                                        ; +0x89, 0x10088ae69\njmp     short loc_10088AE85                                            ; +0x8f, 0x10088ae6f\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 13          ; +0x91, 0x10088ae71\nmov     word ptr [rax+1], 3632h                                        ; +0x94, 0x10088ae74\njmp     short loc_10088AE85                                            ; +0x9a, 0x10088ae7a\nmov     byte ptr [rax], 4; jumptable 000000010088AE01 case 12          ; +0x9c, 0x10088ae7c\nmov     word ptr [rax+1], 3532h                                        ; +0x9f, 0x10088ae7f\nmov     rcx, rax                                                       ; +0xa5, 0x10088ae85\nadd     rcx, 3                                                         ; +0xa8, 0x10088ae88\nmov     byte ptr [rcx], 0                                              ; +0xac, 0x10088ae8c\npop     rbp                                                            ; +0xaf, 0x10088ae8f\nretn                                                                   ; +0xb0, 0x10088ae90\nmov     byte ptr [rax], 0; jumptable 000000010088AE01 default case, case 15 ; +0xb1, 0x10088ae91\nmov     rcx, rax                                                       ; +0xb4, 0x10088ae94\ninc     rcx                                                            ; +0xb7, 0x10088ae97\nmov     byte ptr [rcx], 0                                              ; +0xba, 0x10088ae9a\npop     rbp                                                            ; +0xbd, 0x10088ae9d\nretn                                                                   ; +0xbe, 0x10088ae9e", "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"}