{"type": "func", "start": 5375346960, "end": 5375347118, "name": "LabelGameObject::setupCustomSprites", "pseudocode": "// \n// LabelGameObject::setupCustomSprites from 0x140654910 to 0x1406549ae (158 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14082e478\n// > <???> @ 0x14093164c\n// > <???> @ 0x140931658\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 11:35:44 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LabelGameObject::setupCustomSprites(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rax\n  __int128 v5; // [rsp+20h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-38h]\n  __int64 v7; // [rsp+38h] [rbp-30h]\n  __int64 v8; // [rsp+48h] [rbp-20h]\n\n  v8 = a2;\n  v4 = sub_14003F4F0((__int64)&v5, a2);\n  GameObject::setupCustomSprites(a1, v4);\n  if ( *(_DWORD *)(a1 + 1036) == 1615 )\n  {\n    *(_BYTE *)(a1 + 559) = 1;\n    v5 = 0;\n    v6 = 1;\n    v7 = 15;\n    LOWORD(v5) = 48;\n    LabelGameObject::createLabel(a1, &v5);\n  }\n  sub_14003D310(a2);\n}", "assembly": "; \n; LabelGameObject::setupCustomSprites from 0x140654910 to 0x1406549ae (158 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14082e478\n; > <???> @ 0x14093164c\n; > <???> @ 0x140931658\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 11:35:44 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140654910\npush    rdi                                                            ; +0x5, 0x140654915\nsub     rsp, 60h                                                       ; +0x6, 0x140654916\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x14065491a\nxor     rax, rsp                                                       ; +0x11, 0x140654921\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x140654924\nmov     rdi, rdx                                                       ; +0x19, 0x140654929\nmov     rbx, rcx                                                       ; +0x1c, 0x14065492c\nmov     [rsp+68h+var_20], rdx                                          ; +0x1f, 0x14065492f\nlea     rcx, [rsp+68h+var_48]                                          ; +0x24, 0x140654934\ncall    sub_14003F4F0                                                  ; +0x29, 0x140654939\nmov     rdx, rax                                                       ; +0x2e, 0x14065493e\nmov     rcx, rbx                                                       ; +0x31, 0x140654941\ncall    GameObject__setupCustomSprites                                 ; +0x34, 0x140654944\ncmp     dword ptr [rbx+40Ch], 64Fh                                     ; +0x39, 0x140654949\njnz     short loc_14065498B                                            ; +0x43, 0x140654953\nmov     byte ptr [rbx+22Fh], 1                                         ; +0x45, 0x140654955\nxorps   xmm0, xmm0                                                     ; +0x4c, 0x14065495c\nmovups  [rsp+68h+var_48], xmm0                                         ; +0x4f, 0x14065495f\nmov     [rsp+68h+var_38], 1                                            ; +0x54, 0x140654964\nmov     [rsp+68h+var_30], 0Fh                                          ; +0x5d, 0x14065496d\nmov     word ptr [rsp+68h+var_48], 30h ; '0'                           ; +0x66, 0x140654976\nlea     rdx, [rsp+68h+var_48]                                          ; +0x6d, 0x14065497d\nmov     rcx, rbx                                                       ; +0x72, 0x140654982\ncall    LabelGameObject__createLabel                                   ; +0x75, 0x140654985\nnop                                                                    ; +0x7a, 0x14065498a\nmov     rcx, rdi                                                       ; +0x7b, 0x14065498b\ncall    sub_14003D310                                                  ; +0x7e, 0x14065498e\nmov     rcx, [rsp+68h+var_18]                                          ; +0x83, 0x140654993\nxor     rcx, rsp; StackCookie                                          ; +0x88, 0x140654998\ncall    __security_check_cookie                                        ; +0x8b, 0x14065499b\nmov     rbx, [rsp+68h+arg_10]                                          ; +0x90, 0x1406549a0\nadd     rsp, 60h                                                       ; +0x98, 0x1406549a8\npop     rdi                                                            ; +0x9c, 0x1406549ac\nretn                                                                   ; +0x9d, 0x1406549ad", "xrefs": ["<???> @ 0x14082e478", "<???> @ 0x14093164c", "<???> @ 0x140931658"], "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"}