{"type": "func", "start": 4296240244, "end": 4296240368, "name": "MapPackCell::onClaimReward", "pseudocode": "// \n// MapPackCell::onClaimReward from 0x100136c74 to 0x100136cf0 (124 bytes)\n// \n// 1 xrefs:\n// > MapPackCell::loadFromMapPack @ 0x1001283a0\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n// \n\n__int64 __fastcall MapPackCell::onClaimReward(__int64 a1)\n{\n  __int64 v2; // x0\n\n  v2 = GameStatsManager::sharedState(a1);\n  GameStatsManager::completedMapPack(v2, *(_QWORD *)(a1 + 552));\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 568) + 344LL))(*(_QWORD *)(a1 + 568), 0);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 568) + 1056LL))(*(_QWORD *)(a1 + 568), 0);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 560) + 344LL))(*(_QWORD *)(a1 + 560), 1);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 560) + 1056LL))(*(_QWORD *)(a1 + 560), 1);\n  return MapPackCell::playCompleteEffect(a1);\n}", "assembly": "; \n; MapPackCell::onClaimReward from 0x100136c74 to 0x100136cf0 (124 bytes)\n; \n; 1 xrefs:\n; > MapPackCell::loadFromMapPack @ 0x1001283a0\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100136c74\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100136c78\nADD             X29, SP, #0x10                                         ; +0x8, 0x100136c7c\nMOV             X19, X0                                                ; +0xc, 0x100136c80\nBL              GameStatsManager__sharedState                          ; +0x10, 0x100136c84\nLDR             X1, [X19,#0x228]                                       ; +0x14, 0x100136c88\nBL              GameStatsManager__completedMapPack                     ; +0x18, 0x100136c8c\nLDR             X0, [X19,#0x238]                                       ; +0x1c, 0x100136c90\nLDR             X8, [X0]                                               ; +0x20, 0x100136c94\nLDR             X8, [X8,#0x158]                                        ; +0x24, 0x100136c98\nMOV             W1, #0                                                 ; +0x28, 0x100136c9c\nBLR             X8                                                     ; +0x2c, 0x100136ca0\nLDR             X0, [X19,#0x238]                                       ; +0x30, 0x100136ca4\nLDR             X8, [X0]                                               ; +0x34, 0x100136ca8\nLDR             X8, [X8,#0x420]                                        ; +0x38, 0x100136cac\nMOV             W1, #0                                                 ; +0x3c, 0x100136cb0\nBLR             X8                                                     ; +0x40, 0x100136cb4\nLDR             X0, [X19,#0x230]                                       ; +0x44, 0x100136cb8\nLDR             X8, [X0]                                               ; +0x48, 0x100136cbc\nLDR             X8, [X8,#0x158]                                        ; +0x4c, 0x100136cc0\nMOV             W1, #1                                                 ; +0x50, 0x100136cc4\nBLR             X8                                                     ; +0x54, 0x100136cc8\nLDR             X0, [X19,#0x230]                                       ; +0x58, 0x100136ccc\nLDR             X8, [X0]                                               ; +0x5c, 0x100136cd0\nLDR             X8, [X8,#0x420]                                        ; +0x60, 0x100136cd4\nMOV             W1, #1                                                 ; +0x64, 0x100136cd8\nBLR             X8                                                     ; +0x68, 0x100136cdc\nMOV             X0, X19                                                ; +0x6c, 0x100136ce0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x100136ce4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x100136ce8\nB               MapPackCell__playCompleteEffect                        ; +0x78, 0x100136cec", "xrefs": ["MapPackCell::loadFromMapPack @ 0x1001283a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}