{"type": "func", "start": 5372679712, "end": 5372679775, "name": "RateDemonLayer::onClose", "pseudocode": "// \n// RateDemonLayer::onClose from 0x1403c9620 to 0x1403c965f (63 bytes)\n// \n// 2 xrefs:\n// > RateDemonLayer::init @ 0x1403c8f7d\n// > <???> @ 0x1406d7a0c\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::onClose(RateDemonLayer *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; RateDemonLayer::onClose from 0x1403c9620 to 0x1403c965f (63 bytes)\n; \n; 2 xrefs:\n; > RateDemonLayer::init @ 0x1403c8f7d\n; > <???> @ 0x1406d7a0c\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, 0x1403c9620\nsub     rsp, 20h                                                       ; +0x2, 0x1403c9622\nmov     rax, [rcx]                                                     ; +0x6, 0x1403c9626\nxor     edx, edx                                                       ; +0x9, 0x1403c9629\nmov     rbx, rcx                                                       ; +0xb, 0x1403c962b\ncall    qword ptr [rax+3D0h]                                           ; +0xe, 0x1403c962e\nmov     rax, [rbx]                                                     ; +0x14, 0x1403c9634\nmov     dl, 1                                                          ; +0x17, 0x1403c9637\nmov     rcx, rbx                                                       ; +0x19, 0x1403c9639\ncall    qword ptr [rax+1F8h]                                           ; +0x1c, 0x1403c963c\nmov     rcx, [rbx+2C0h]                                                ; +0x22, 0x1403c9642\ntest    rcx, rcx                                                       ; +0x29, 0x1403c9649\njz      short loc_1403C9659                                            ; +0x2c, 0x1403c964c\nmov     rax, [rcx]                                                     ; +0x2e, 0x1403c964e\nadd     rsp, 20h                                                       ; +0x31, 0x1403c9651\npop     rbx                                                            ; +0x35, 0x1403c9655\njmp     qword ptr [rax]                                                ; +0x36, 0x1403c9656\nadd     rsp, 20h                                                       ; +0x39, 0x1403c9659\npop     rbx                                                            ; +0x3d, 0x1403c965d\nretn                                                                   ; +0x3e, 0x1403c965e", "xrefs": ["RateDemonLayer::init @ 0x1403c8f7d", "<???> @ 0x1406d7a0c"], "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"}