{"type": "func", "start": 5372686000, "end": 5372686063, "name": "RateStarsLayer::onClose", "pseudocode": "// \n// RateStarsLayer::onClose from 0x1403caeb0 to 0x1403caeef (63 bytes)\n// \n// 2 xrefs:\n// > RateStarsLayer::init @ 0x1403ca71c\n// > <???> @ 0x1406d7b08\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 RateStarsLayer::onClose(RateStarsLayer *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  RateLevelDelegate *m_delegate; // rcx\n\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v3) = 1;\n  a1->removeFromParentAndCleanup(a1, v3);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->rateLevelClosed(m_delegate);\n}", "assembly": "; \n; RateStarsLayer::onClose from 0x1403caeb0 to 0x1403caeef (63 bytes)\n; \n; 2 xrefs:\n; > RateStarsLayer::init @ 0x1403ca71c\n; > <???> @ 0x1406d7b08\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\npush    rbx                                                            ; +0x0, 0x1403caeb0\nsub     rsp, 20h                                                       ; +0x2, 0x1403caeb2\nmov     rax, [rcx]                                                     ; +0x6, 0x1403caeb6\nxor     edx, edx                                                       ; +0x9, 0x1403caeb9\nmov     rbx, rcx                                                       ; +0xb, 0x1403caebb\ncall    qword ptr [rax+3D0h]                                           ; +0xe, 0x1403caebe\nmov     rax, [rbx]                                                     ; +0x14, 0x1403caec4\nmov     dl, 1                                                          ; +0x17, 0x1403caec7\nmov     rcx, rbx                                                       ; +0x19, 0x1403caec9\ncall    qword ptr [rax+1F8h]                                           ; +0x1c, 0x1403caecc\nmov     rcx, [rbx+2D0h]                                                ; +0x22, 0x1403caed2\ntest    rcx, rcx                                                       ; +0x29, 0x1403caed9\njz      short loc_1403CAEE9                                            ; +0x2c, 0x1403caedc\nmov     rax, [rcx]                                                     ; +0x2e, 0x1403caede\nadd     rsp, 20h                                                       ; +0x31, 0x1403caee1\npop     rbx                                                            ; +0x35, 0x1403caee5\njmp     qword ptr [rax]                                                ; +0x36, 0x1403caee6\nadd     rsp, 20h                                                       ; +0x39, 0x1403caee9\npop     rbx                                                            ; +0x3d, 0x1403caeed\nretn                                                                   ; +0x3e, 0x1403caeee", "xrefs": ["RateStarsLayer::init @ 0x1403ca71c", "<???> @ 0x1406d7b08"], "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"}