{"type": "func", "start": 5373740272, "end": 5373740386, "name": "OptionsLayer::onRate", "pseudocode": "// \n// OptionsLayer::onRate from 0x1404cc4f0 to 0x1404cc562 (114 bytes)\n// \n// 2 xrefs:\n// > OptionsLayer::customSetup @ 0x1404cb0b1\n// > <???> @ 0x140929654\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:58 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall OptionsLayer::onRate(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 v2; // rax\n  __int64 result; // rax\n  void *v4; // [rsp+40h] [rbp+18h]\n\n  v1 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v4 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v1 = qword_14090BFD0;\n  }\n  v2 = cocos2d::CCApplication::sharedApplication(a1);\n  result = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v2 + 96LL))(\n             v2,\n             \"https://store.steampowered.com/recommended/recommendgame/322170\");\n  *(_BYTE *)(v1 + 716) = 1;\n  *(_BYTE *)(v1 + 1056) = 1;\n  return result;\n}", "assembly": "; \n; OptionsLayer::onRate from 0x1404cc4f0 to 0x1404cc562 (114 bytes)\n; \n; 2 xrefs:\n; > OptionsLayer::customSetup @ 0x1404cb0b1\n; > <???> @ 0x140929654\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:58 +0000\n; \npush    rbx                                                            ; +0x0, 0x1404cc4f0\nsub     rsp, 20h                                                       ; +0x2, 0x1404cc4f2\nmov     rbx, cs:qword_14090BFD0                                        ; +0x6, 0x1404cc4f6\ntest    rbx, rbx                                                       ; +0xd, 0x1404cc4fd\njnz     short loc_1404CC534                                            ; +0x10, 0x1404cc500\nmov     ecx, 6E8h; Size                                                ; +0x12, 0x1404cc502\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1404cc507\nmov     [rsp+28h+arg_10], rax                                          ; +0x1c, 0x1404cc50c\nmov     rcx, rax                                                       ; +0x21, 0x1404cc511\ncall    GameManager__GameManager                                       ; +0x24, 0x1404cc514\nnop                                                                    ; +0x29, 0x1404cc519\nmov     cs:qword_14090BFD0, rax                                        ; +0x2a, 0x1404cc51a\nmov     rcx, [rax]                                                     ; +0x31, 0x1404cc521\nmov     rdx, [rcx+48h]                                                 ; +0x34, 0x1404cc524\nmov     rcx, rax                                                       ; +0x38, 0x1404cc528\ncall    rdx                                                            ; +0x3b, 0x1404cc52b\nmov     rbx, cs:qword_14090BFD0                                        ; +0x3d, 0x1404cc52d\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x44, 0x1404cc534\nmov     rcx, [rax]                                                     ; +0x4a, 0x1404cc53a\nmov     r8, [rcx+60h]                                                  ; +0x4d, 0x1404cc53d\nlea     rdx, aHttpsStoreStea; \"https://store.steampowered.com/recommen\"... ; +0x51, 0x1404cc541\nmov     rcx, rax                                                       ; +0x58, 0x1404cc548\ncall    r8                                                             ; +0x5b, 0x1404cc54b\nmov     byte ptr [rbx+2CCh], 1                                         ; +0x5e, 0x1404cc54e\nmov     byte ptr [rbx+420h], 1                                         ; +0x65, 0x1404cc555\nadd     rsp, 20h                                                       ; +0x6c, 0x1404cc55c\npop     rbx                                                            ; +0x70, 0x1404cc560\nretn                                                                   ; +0x71, 0x1404cc561", "xrefs": ["OptionsLayer::customSetup @ 0x1404cb0b1", "<???> @ 0x140929654"], "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"}