{"type": "func", "start": 5372892112, "end": 5372892249, "name": "SetGroupIDLayer::valuePopupClosed", "pseudocode": "// \n// SetGroupIDLayer::valuePopupClosed from 0x1403fd3d0 to 0x1403fd459 (137 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405d66c8\n// > <???> @ 0x1406d857c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid SetGroupIDLayer::valuePopupClosed(SetGroupIDLayer *a1, ConfigureValuePopup *a2, float a3)\n{\n  int v4; // edi\n  __int64 v5; // rax\n  void *v6; // [rsp+38h] [rbp+10h]\n\n  v4 = (int)fmaxf(0.0, roundf(a3));\n  if ( a2->getTag(a2) == 26 )\n  {\n    v5 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v6 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v6);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v5 = qword_1406C2ED8;\n    }\n    *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(v5 + 528) + 3504LL) + 444LL) = v4;\n  }\n}", "assembly": "; \n; SetGroupIDLayer::valuePopupClosed from 0x1403fd3d0 to 0x1403fd459 (137 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405d66c8\n; > <???> @ 0x1406d857c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403fd3d0\npush    rdi                                                            ; +0x5, 0x1403fd3d5\nsub     rsp, 20h                                                       ; +0x6, 0x1403fd3d6\nmov     rbx, rdx                                                       ; +0xa, 0x1403fd3da\nmovaps  xmm0, xmm2; X                                                  ; +0xd, 0x1403fd3dd\ncall    cs:__imp_roundf                                                ; +0x10, 0x1403fd3e0\nxorps   xmm1, xmm1                                                     ; +0x16, 0x1403fd3e6\nmaxss   xmm1, xmm0                                                     ; +0x19, 0x1403fd3e9\ncvttss2si edi, xmm1                                                    ; +0x1d, 0x1403fd3ed\nmov     rax, [rbx]                                                     ; +0x21, 0x1403fd3f1\nmov     rcx, rbx                                                       ; +0x24, 0x1403fd3f4\ncall    qword ptr [rax+38h]                                            ; +0x27, 0x1403fd3f7\ncmp     eax, 1Ah                                                       ; +0x2a, 0x1403fd3fa\njnz     short loc_1403FD44E                                            ; +0x2d, 0x1403fd3fd\nmov     rax, cs:qword_1406C2ED8                                        ; +0x2f, 0x1403fd3ff\ntest    rax, rax                                                       ; +0x36, 0x1403fd406\njnz     short loc_1403FD43A                                            ; +0x39, 0x1403fd409\nmov     ecx, 668h; Size                                                ; +0x3b, 0x1403fd40b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x40, 0x1403fd410\nmov     [rsp+28h+arg_8], rax                                           ; +0x45, 0x1403fd415\nmov     rcx, rax                                                       ; +0x4a, 0x1403fd41a\ncall    sub_14017AB00                                                  ; +0x4d, 0x1403fd41d\nnop                                                                    ; +0x52, 0x1403fd422\nmov     cs:qword_1406C2ED8, rax                                        ; +0x53, 0x1403fd423\nmov     rdx, [rax]                                                     ; +0x5a, 0x1403fd42a\nmov     rcx, rax                                                       ; +0x5d, 0x1403fd42d\ncall    qword ptr [rdx+48h]                                            ; +0x60, 0x1403fd430\nmov     rax, cs:qword_1406C2ED8                                        ; +0x63, 0x1403fd433\nmov     rax, [rax+210h]                                                ; +0x6a, 0x1403fd43a\nmov     rcx, [rax+0DB0h]                                               ; +0x71, 0x1403fd441\nmov     [rcx+1BCh], edi                                                ; +0x78, 0x1403fd448\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x1403fd44e\nadd     rsp, 20h                                                       ; +0x83, 0x1403fd453\npop     rdi                                                            ; +0x87, 0x1403fd457\nretn                                                                   ; +0x88, 0x1403fd458", "xrefs": ["<???> @ 0x1405d66c8", "<???> @ 0x1406d857c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}