{"type": "func", "start": 5371783760, "end": 5371783977, "name": "GameStatsManager::getNotificationRewardKey", "pseudocode": "// \n// GameStatsManager::getNotificationRewardKey from 0x1402eea50 to 0x1402eeb29 (217 bytes)\n// \n// 5 xrefs:\n// > GJNotificationCell::loadFromNotification @ 0x14015bd9b\n// > GJNotificationCell::refreshChest @ 0x14015c5bb\n// > GameLevelManager::onClaimNotificationRewardCompleted @ 0x14025219f\n// > NotificationsPage::notificationRewardFinished @ 0x140478c93\n// > <???> @ 0x14091e110\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:29:56 +0000\n// \n\n_QWORD *__fastcall GameStatsManager::getNotificationRewardKey(__int64 a1, _QWORD *a2, unsigned int a3)\n{\n  _BYTE *v5; // rax\n  size_t v6; // r8\n  _QWORD v8[2]; // [rsp+30h] [rbp-238h] BYREF\n  _BYTE v9[528]; // [rsp+40h] [rbp-228h] BYREF\n\n  fmt::BasicWriter<char>::BasicWriter<char>(v9);\n  v8[0] = \"o_notif_\";\n  v8[1] = 0;\n  fmt::BasicWriter<char>::operator<<(v9, v8);\n  fmt::BasicWriter<char>::operator<<(v9, a3);\n  v5 = (_BYTE *)fmt::BasicWriter<char>::c_str(v9);\n  *(_OWORD *)a2 = 0;\n  a2[2] = 0;\n  a2[3] = 0;\n  v6 = -1;\n  do\n    ++v6;\n  while ( v5[v6] );\n  sub_14003D230(a2, v5, v6);\n  fmt::BasicWriter<char>::~BasicWriter<char>(v9);\n  return a2;\n}", "assembly": "; \n; GameStatsManager::getNotificationRewardKey from 0x1402eea50 to 0x1402eeb29 (217 bytes)\n; \n; 5 xrefs:\n; > GJNotificationCell::loadFromNotification @ 0x14015bd9b\n; > GJNotificationCell::refreshChest @ 0x14015c5bb\n; > GameLevelManager::onClaimNotificationRewardCompleted @ 0x14025219f\n; > NotificationsPage::notificationRewardFinished @ 0x140478c93\n; > <???> @ 0x14091e110\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:29:56 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402eea50\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1402eea55\npush    rdi                                                            ; +0xa, 0x1402eea5a\nsub     rsp, 260h                                                      ; +0xb, 0x1402eea5b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1402eea62\nxor     rax, rsp                                                       ; +0x19, 0x1402eea69\nmov     [rsp+268h+var_18], rax                                         ; +0x1c, 0x1402eea6c\nmov     ebx, r8d                                                       ; +0x24, 0x1402eea74\nmov     rdi, rdx                                                       ; +0x27, 0x1402eea77\nmov     [rsp+268h+var_238], rdx                                        ; +0x2a, 0x1402eea7a\nxor     esi, esi                                                       ; +0x2f, 0x1402eea7f\nlea     rcx, [rsp+268h+var_228]                                        ; +0x31, 0x1402eea81\ncall    cs:??0?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::BasicWriter<char>(void) ; +0x36, 0x1402eea86\nnop                                                                    ; +0x3c, 0x1402eea8c\nlea     rax, aONotif; \"o_notif_\"                                       ; +0x3d, 0x1402eea8d\nmov     [rsp+268h+var_238], rax                                        ; +0x44, 0x1402eea94\nmov     [rsp+268h+var_230], rsi                                        ; +0x49, 0x1402eea99\nlea     rdx, [rsp+268h+var_238]                                        ; +0x4e, 0x1402eea9e\nlea     rcx, [rsp+268h+var_228]                                        ; +0x53, 0x1402eeaa3\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@V?$BasicStringRef@D@1@@Z; fmt::BasicWriter<char>::operator<<(fmt::BasicStringRef<char>) ; +0x58, 0x1402eeaa8\nmov     edx, ebx                                                       ; +0x5e, 0x1402eeaae\nlea     rcx, [rsp+268h+var_228]                                        ; +0x60, 0x1402eeab0\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@H@Z; fmt::BasicWriter<char>::operator<<(int) ; +0x65, 0x1402eeab5\nlea     rcx, [rsp+268h+var_228]                                        ; +0x6b, 0x1402eeabb\ncall    cs:?c_str@?$BasicWriter@D@fmt@@QEBAPEBDXZ; fmt::BasicWriter<char>::c_str(void) ; +0x70, 0x1402eeac0\nxorps   xmm0, xmm0                                                     ; +0x76, 0x1402eeac6\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x79, 0x1402eeac9\nmov     [rdi+10h], rsi                                                 ; +0x7c, 0x1402eeacc\nmov     [rdi+18h], rsi                                                 ; +0x80, 0x1402eead0\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x84, 0x1402eead4\nnop     dword ptr [rax+rax+00h]                                        ; +0x8b, 0x1402eeadb\ninc     r8                                                             ; +0x90, 0x1402eeae0\ncmp     byte ptr [rax+r8], 0                                           ; +0x93, 0x1402eeae3\njnz     short loc_1402EEAE0                                            ; +0x98, 0x1402eeae8\nmov     rdx, rax                                                       ; +0x9a, 0x1402eeaea\nmov     rcx, rdi                                                       ; +0x9d, 0x1402eeaed\ncall    sub_14003D230                                                  ; +0xa0, 0x1402eeaf0\nnop                                                                    ; +0xa5, 0x1402eeaf5\nlea     rcx, [rsp+268h+var_228]                                        ; +0xa6, 0x1402eeaf6\ncall    cs:__imp_??1?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::~BasicWriter<char>(void) ; +0xab, 0x1402eeafb\nmov     rax, rdi                                                       ; +0xb1, 0x1402eeb01\nmov     rcx, [rsp+268h+var_18]                                         ; +0xb4, 0x1402eeb04\nxor     rcx, rsp; StackCookie                                          ; +0xbc, 0x1402eeb0c\ncall    __security_check_cookie                                        ; +0xbf, 0x1402eeb0f\nlea     r11, [rsp+268h+var_8]                                          ; +0xc4, 0x1402eeb14\nmov     rbx, [r11+10h]                                                 ; +0xcc, 0x1402eeb1c\nmov     rsi, [r11+28h]                                                 ; +0xd0, 0x1402eeb20\nmov     rsp, r11                                                       ; +0xd4, 0x1402eeb24\npop     rdi                                                            ; +0xd7, 0x1402eeb27\nretn                                                                   ; +0xd8, 0x1402eeb28", "xrefs": ["GJNotificationCell::loadFromNotification @ 0x14015bd9b", "GJNotificationCell::refreshChest @ 0x14015c5bb", "GameLevelManager::onClaimNotificationRewardCompleted @ 0x14025219f", "NotificationsPage::notificationRewardFinished @ 0x140478c93", "<???> @ 0x14091e110"], "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"}