{"type": "func", "start": 5373016480, "end": 5373016570, "name": "GJRateLevelLayer::onClosePopup", "pseudocode": "// \n// GJRateLevelLayer::onClosePopup from 0x14041b9a0 to 0x14041b9fa (90 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078b4f8\n// > <???> @ 0x1409266f0\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:32:06 +0000\n// \n\n__int64 __fastcall GJRateLevelLayer::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 result; // rax\n  bool v6; // zf\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 992LL))(a2, 0);\n  LOBYTE(v4) = 1;\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 520LL))(a2, v4);\n  v6 = *(_BYTE *)(a1 + 40) == 0;\n  *(_QWORD *)(a1 - 1000 + 1080) = 0;\n  if ( !v6 )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 1000) + 1104LL))(a1 - 1000, 0);\n  return result;\n}", "assembly": "; \n; GJRateLevelLayer::onClosePopup from 0x14041b9a0 to 0x14041b9fa (90 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078b4f8\n; > <???> @ 0x1409266f0\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:32:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14041b9a0\npush    rdi                                                            ; +0x5, 0x14041b9a5\nsub     rsp, 20h                                                       ; +0x6, 0x14041b9a6\nmov     rax, [rdx]                                                     ; +0xa, 0x14041b9aa\nmov     rbx, rdx                                                       ; +0xd, 0x14041b9ad\nmov     rdi, rcx                                                       ; +0x10, 0x14041b9b0\nxor     edx, edx                                                       ; +0x13, 0x14041b9b3\nmov     rcx, rbx                                                       ; +0x15, 0x14041b9b5\ncall    qword ptr [rax+3E0h]                                           ; +0x18, 0x14041b9b8\nmov     rax, [rbx]                                                     ; +0x1e, 0x14041b9be\nmov     dl, 1                                                          ; +0x21, 0x14041b9c1\nmov     rcx, rbx                                                       ; +0x23, 0x14041b9c3\ncall    qword ptr [rax+208h]                                           ; +0x26, 0x14041b9c6\ncmp     byte ptr [rdi+28h], 0                                          ; +0x2c, 0x14041b9cc\nlea     rcx, [rdi-3E8h]                                                ; +0x30, 0x14041b9d0\nmov     qword ptr [rcx+438h], 0                                        ; +0x37, 0x14041b9d7\njz      short loc_14041B9EF                                            ; +0x42, 0x14041b9e2\nmov     rax, [rcx]                                                     ; +0x44, 0x14041b9e4\nxor     edx, edx                                                       ; +0x47, 0x14041b9e7\ncall    qword ptr [rax+450h]                                           ; +0x49, 0x14041b9e9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4f, 0x14041b9ef\nadd     rsp, 20h                                                       ; +0x54, 0x14041b9f4\npop     rdi                                                            ; +0x58, 0x14041b9f8\nretn                                                                   ; +0x59, 0x14041b9f9", "xrefs": ["<???> @ 0x14078b4f8", "<???> @ 0x1409266f0"], "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"}