{"type": "func", "start": 5371817568, "end": 5371817655, "name": "GJRateLevelLayer::onClosePopup", "pseudocode": "// \n// GJRateLevelLayer::onClosePopup from 0x1402f6e60 to 0x1402f6eb7 (87 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586678\n// > <???> @ 0x1406d40a0\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 GJRateLevelLayer::onClosePopup(GJRateLevelLayer *a1, UploadActionPopup *a2)\n{\n  _BOOL8 v4; // rdx\n  bool v5; // zf\n\n  a2->setKeypadEnabled(a2, 0);\n  LOBYTE(v4) = 1;\n  a2->removeFromParentAndCleanup(a2, v4);\n  v5 = LOBYTE(a1->m_unknown2) == 0;\n  *(_QWORD *)&a1->m_obPosition.y = 0;\n  if ( !v5 )\n    (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)&a1[-1].m_sAdditionalTransform.b + 1072LL))(\n      &a1[-1].m_sAdditionalTransform.b,\n      0);\n}", "assembly": "; \n; GJRateLevelLayer::onClosePopup from 0x1402f6e60 to 0x1402f6eb7 (87 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586678\n; > <???> @ 0x1406d40a0\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, 0x1402f6e60\npush    rdi                                                            ; +0x5, 0x1402f6e65\nsub     rsp, 20h                                                       ; +0x6, 0x1402f6e66\nmov     rax, [rdx]                                                     ; +0xa, 0x1402f6e6a\nmov     rbx, rdx                                                       ; +0xd, 0x1402f6e6d\nmov     rdi, rcx                                                       ; +0x10, 0x1402f6e70\nxor     edx, edx                                                       ; +0x13, 0x1402f6e73\nmov     rcx, rbx                                                       ; +0x15, 0x1402f6e75\ncall    qword ptr [rax+3D0h]                                           ; +0x18, 0x1402f6e78\nmov     rax, [rbx]                                                     ; +0x1e, 0x1402f6e7e\nmov     dl, 1                                                          ; +0x21, 0x1402f6e81\nmov     rcx, rbx                                                       ; +0x23, 0x1402f6e83\ncall    qword ptr [rax+1F8h]                                           ; +0x26, 0x1402f6e86\ncmp     byte ptr [rdi+28h], 0                                          ; +0x2c, 0x1402f6e8c\nmov     qword ptr [rdi+50h], 0                                         ; +0x30, 0x1402f6e90\njz      short loc_1402F6EAC                                            ; +0x38, 0x1402f6e98\nlea     rcx, [rdi-3A8h]                                                ; +0x3a, 0x1402f6e9a\nxor     edx, edx                                                       ; +0x41, 0x1402f6ea1\nmov     rax, [rcx]                                                     ; +0x43, 0x1402f6ea3\ncall    qword ptr [rax+430h]                                           ; +0x46, 0x1402f6ea6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x1402f6eac\nadd     rsp, 20h                                                       ; +0x51, 0x1402f6eb1\npop     rdi                                                            ; +0x55, 0x1402f6eb5\nretn                                                                   ; +0x56, 0x1402f6eb6", "xrefs": ["<???> @ 0x140586678", "<???> @ 0x1406d40a0"], "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"}