{"type": "func", "start": 5372327120, "end": 5372327228, "name": "OptionsLayer::onRate", "pseudocode": "// \n// OptionsLayer::onRate from 0x1403734d0 to 0x14037353c (108 bytes)\n// \n// 2 xrefs:\n// > OptionsLayer::customSetup @ 0x140371f57\n// > <???> @ 0x1406d5b28\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\n// Hidden C++ exception states: #wind=2\nvoid OptionsLayer::onRate(OptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rax\n  void *v4; // [rsp+40h] [rbp+18h]\n\n  v2 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v4 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = qword_1406C2ED8;\n  }\n  v3 = cocos2d::CCApplication::sharedApplication(a1, a2);\n  (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 88LL))(\n    v3,\n    \"https://store.steampowered.com/recommended/recommendgame/322170\");\n  *(_BYTE *)(v2 + 676) = 1;\n  *(_BYTE *)(v2 + 1004) = 1;\n}", "assembly": "; \n; OptionsLayer::onRate from 0x1403734d0 to 0x14037353c (108 bytes)\n; \n; 2 xrefs:\n; > OptionsLayer::customSetup @ 0x140371f57\n; > <???> @ 0x1406d5b28\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, 0x1403734d0\nsub     rsp, 20h                                                       ; +0x2, 0x1403734d2\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x6, 0x1403734d6\ntest    rbx, rbx                                                       ; +0xd, 0x1403734dd\njnz     short loc_140373511                                            ; +0x10, 0x1403734e0\nmov     ecx, 668h; Size                                                ; +0x12, 0x1403734e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1403734e7\nmov     [rsp+28h+arg_10], rax                                          ; +0x1c, 0x1403734ec\nmov     rcx, rax                                                       ; +0x21, 0x1403734f1\ncall    sub_14017AB00                                                  ; +0x24, 0x1403734f4\nnop                                                                    ; +0x29, 0x1403734f9\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2a, 0x1403734fa\nmov     rdx, [rax]                                                     ; +0x31, 0x140373501\nmov     rcx, rax                                                       ; +0x34, 0x140373504\ncall    qword ptr [rdx+48h]                                            ; +0x37, 0x140373507\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x3a, 0x14037350a\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x41, 0x140373511\nmov     r8, [rax]                                                      ; +0x47, 0x140373517\nlea     rdx, aHttpsStoreStea; \"https://store.steampowered.com/recommen\"... ; +0x4a, 0x14037351a\nmov     rcx, rax                                                       ; +0x51, 0x140373521\ncall    qword ptr [r8+58h]                                             ; +0x54, 0x140373524\nmov     byte ptr [rbx+2A4h], 1                                         ; +0x58, 0x140373528\nmov     byte ptr [rbx+3ECh], 1                                         ; +0x5f, 0x14037352f\nadd     rsp, 20h                                                       ; +0x66, 0x140373536\npop     rbx                                                            ; +0x6a, 0x14037353a\nretn                                                                   ; +0x6b, 0x14037353b", "xrefs": ["OptionsLayer::customSetup @ 0x140371f57", "<???> @ 0x1406d5b28"], "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"}