{"type": "func", "start": 4297332384, "end": 4297332444, "name": "GJNotificationCell::onClaimReward", "pseudocode": "// \n// GJNotificationCell::onClaimReward from 0x1002416a0 to 0x1002416dc (60 bytes)\n// \n// 1 xrefs:\n// > GJNotificationCell::loadFromNotification @ 0x1002348f3\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 12:27:18 +0000\n// \n\n__int64 __fastcall GJNotificationCell::onClaimReward(__int64 a1, double a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rax\n\n  result = *(_QWORD *)(a1 + 560);\n  if ( result )\n  {\n    if ( *(int *)(result + 208) > 0 )\n    {\n      v3 = GameLevelManager::sharedState(a2);\n      return GameLevelManager::claimNotificationReward(v3, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 56LL));\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJNotificationCell::onClaimReward from 0x1002416a0 to 0x1002416dc (60 bytes)\n; \n; 1 xrefs:\n; > GJNotificationCell::loadFromNotification @ 0x1002348f3\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 12:27:18 +0000\n; \nmov     rax, [rdi+230h]                                                ; +0x0, 0x1002416a0\ntest    rax, rax                                                       ; +0x7, 0x1002416a7\njz      short locret_1002416DB                                         ; +0xa, 0x1002416aa\ncmp     dword ptr [rax+0D0h], 0                                        ; +0xc, 0x1002416ac\njle     short locret_1002416DB                                         ; +0x13, 0x1002416b3\npush    rbp                                                            ; +0x15, 0x1002416b5\nmov     rbp, rsp                                                       ; +0x16, 0x1002416b6\npush    rbx                                                            ; +0x19, 0x1002416b9\npush    rax                                                            ; +0x1a, 0x1002416ba\nmov     rbx, rdi                                                       ; +0x1b, 0x1002416bb\ncall    GameLevelManager__sharedState                                  ; +0x1e, 0x1002416be\nmov     rcx, [rbx+230h]                                                ; +0x23, 0x1002416c3\nmov     esi, [rcx+38h]                                                 ; +0x2a, 0x1002416ca\nmov     rdi, rax                                                       ; +0x2d, 0x1002416cd\nadd     rsp, 8                                                         ; +0x30, 0x1002416d0\npop     rbx                                                            ; +0x34, 0x1002416d4\npop     rbp                                                            ; +0x35, 0x1002416d5\njmp     GameLevelManager__claimNotificationReward                      ; +0x36, 0x1002416d6\nretn                                                                   ; +0x3b, 0x1002416db", "xrefs": ["GJNotificationCell::loadFromNotification @ 0x1002348f3"], "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"}