{"type": "func", "start": 5372679584, "end": 5372679711, "name": "RateDemonLayer::onClosePopup", "pseudocode": "// \n// RateDemonLayer::onClosePopup from 0x1403c95a0 to 0x1403c961f (127 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405cc278\n// > <???> @ 0x1406d7a00\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\nvoid RateDemonLayer::onClosePopup(RateDemonLayer *a1, UploadActionPopup *a2)\n{\n  _BOOL8 v4; // rdx\n  bool v5; // zf\n  __int64 v6; // rdx\n  void (__fastcall ***v7)(_QWORD); // rcx\n\n  a2->setKeypadEnabled(a2, 0);\n  LOBYTE(v4) = 1;\n  a2->removeFromParentAndCleanup(a2, v4);\n  v5 = LOBYTE(a1->m_nTag) == 0;\n  *(_QWORD *)&a1->m_fScaleX = 0;\n  if ( !v5 )\n  {\n    (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)&a1[-1].m_obPosition.y + 976LL))(&a1[-1].m_obPosition.y, 0);\n    LOBYTE(v6) = 1;\n    (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obPosition.y + 504LL))(&a1[-1].m_obPosition.y, v6);\n    v7 = *(void (__fastcall ****)(_QWORD))&a1->m_fVertexZ;\n    if ( v7 )\n      (**v7)(v7);\n  }\n}", "assembly": "; \n; RateDemonLayer::onClosePopup from 0x1403c95a0 to 0x1403c961f (127 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405cc278\n; > <???> @ 0x1406d7a00\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, 0x1403c95a0\npush    rdi                                                            ; +0x5, 0x1403c95a5\nsub     rsp, 20h                                                       ; +0x6, 0x1403c95a6\nmov     rax, [rdx]                                                     ; +0xa, 0x1403c95aa\nmov     rbx, rdx                                                       ; +0xd, 0x1403c95ad\nmov     rdi, rcx                                                       ; +0x10, 0x1403c95b0\nxor     edx, edx                                                       ; +0x13, 0x1403c95b3\nmov     rcx, rbx                                                       ; +0x15, 0x1403c95b5\ncall    qword ptr [rax+3D0h]                                           ; +0x18, 0x1403c95b8\nmov     rax, [rbx]                                                     ; +0x1e, 0x1403c95be\nmov     dl, 1                                                          ; +0x21, 0x1403c95c1\nmov     rcx, rbx                                                       ; +0x23, 0x1403c95c3\ncall    qword ptr [rax+1F8h]                                           ; +0x26, 0x1403c95c6\ncmp     byte ptr [rdi+10h], 0                                          ; +0x2c, 0x1403c95cc\nmov     qword ptr [rdi+40h], 0                                         ; +0x30, 0x1403c95d0\njz      short loc_1403C9614                                            ; +0x38, 0x1403c95d8\nmov     rax, [rdi-278h]                                                ; +0x3a, 0x1403c95da\nlea     rcx, [rdi-278h]                                                ; +0x41, 0x1403c95e1\nxor     edx, edx                                                       ; +0x48, 0x1403c95e8\ncall    qword ptr [rax+3D0h]                                           ; +0x4a, 0x1403c95ea\nmov     rax, [rdi-278h]                                                ; +0x50, 0x1403c95f0\nlea     rcx, [rdi-278h]                                                ; +0x57, 0x1403c95f7\nmov     dl, 1                                                          ; +0x5e, 0x1403c95fe\ncall    qword ptr [rax+1F8h]                                           ; +0x60, 0x1403c9600\nmov     rcx, [rdi+48h]                                                 ; +0x66, 0x1403c9606\ntest    rcx, rcx                                                       ; +0x6a, 0x1403c960a\njz      short loc_1403C9614                                            ; +0x6d, 0x1403c960d\nmov     rax, [rcx]                                                     ; +0x6f, 0x1403c960f\ncall    qword ptr [rax]                                                ; +0x72, 0x1403c9612\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x1403c9614\nadd     rsp, 20h                                                       ; +0x79, 0x1403c9619\npop     rdi                                                            ; +0x7d, 0x1403c961d\nretn                                                                   ; +0x7e, 0x1403c961e", "xrefs": ["<???> @ 0x1405cc278", "<???> @ 0x1406d7a00"], "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"}