{"type": "func", "start": 5372681696, "end": 5372681768, "name": "RateLevelLayer::onRate", "pseudocode": "// \n// RateLevelLayer::onRate from 0x1403c9de0 to 0x1403c9e28 (72 bytes)\n// \n// 2 xrefs:\n// > RateLevelLayer::init @ 0x1403c9b96\n// > <???> @ 0x1406d7a48\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 RateLevelLayer::onRate(RateLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  RateLevelDelegate *m_delegate; // rcx\n\n  if ( a1->m_levelRate != -1 )\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  }\n}", "assembly": "; \n; RateLevelLayer::onRate from 0x1403c9de0 to 0x1403c9e28 (72 bytes)\n; \n; 2 xrefs:\n; > RateLevelLayer::init @ 0x1403c9b96\n; > <???> @ 0x1406d7a48\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, 0x1403c9de0\nsub     rsp, 20h                                                       ; +0x2, 0x1403c9de2\ncmp     dword ptr [rcx+28Ch], 0FFFFFFFFh                               ; +0x6, 0x1403c9de6\nmov     rbx, rcx                                                       ; +0xd, 0x1403c9ded\njz      short loc_1403C9E22                                            ; +0x10, 0x1403c9df0\nmov     rax, [rcx]                                                     ; +0x12, 0x1403c9df2\nxor     edx, edx                                                       ; +0x15, 0x1403c9df5\ncall    qword ptr [rax+3D0h]                                           ; +0x17, 0x1403c9df7\nmov     rax, [rbx]                                                     ; +0x1d, 0x1403c9dfd\nmov     dl, 1                                                          ; +0x20, 0x1403c9e00\nmov     rcx, rbx                                                       ; +0x22, 0x1403c9e02\ncall    qword ptr [rax+1F8h]                                           ; +0x25, 0x1403c9e05\nmov     rcx, [rbx+290h]                                                ; +0x2b, 0x1403c9e0b\ntest    rcx, rcx                                                       ; +0x32, 0x1403c9e12\njz      short loc_1403C9E22                                            ; +0x35, 0x1403c9e15\nmov     rax, [rcx]                                                     ; +0x37, 0x1403c9e17\nadd     rsp, 20h                                                       ; +0x3a, 0x1403c9e1a\npop     rbx                                                            ; +0x3e, 0x1403c9e1e\njmp     qword ptr [rax]                                                ; +0x3f, 0x1403c9e1f\nadd     rsp, 20h                                                       ; +0x42, 0x1403c9e22\npop     rbx                                                            ; +0x46, 0x1403c9e26\nretn                                                                   ; +0x47, 0x1403c9e27", "xrefs": ["RateLevelLayer::init @ 0x1403c9b96", "<???> @ 0x1406d7a48"], "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"}