{"type": "func", "start": 4299561732, "end": 4299561872, "name": "GJPathPage::unlockAnimationFinished", "pseudocode": "// \n// GJPathPage::unlockAnimationFinished from 0x100461b04 to 0x100461b90 (140 bytes)\n// \n// 1 xrefs:\n// > GJPathPage::playUnlockAnimation @ 0x1004613b4\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 11:05:30 +0000\n// \n\n__int64 __fastcall GJPathPage::unlockAnimationFinished(__int64 a1)\n{\n  int v2; // w20\n  __int64 v3; // x0\n  __int64 v4; // x0\n  _BYTE *v5; // x20\n  _BYTE *v6; // x19\n\n  *(_BYTE *)(a1 + 692) = 0;\n  v2 = *(_DWORD *)(a1 + 688);\n  v3 = GameStatsManager::sharedState();\n  sub_1003CDC48(v3, v2 + 29);\n  sub_100460D64(a1);\n  v4 = *(_QWORD *)(a1 + 680);\n  *(_BYTE *)(v4 + 680) = 0;\n  sub_10045F128(v4);\n  v5 = GJPathsLayer::create();\n  v5[596] = 1;\n  (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v5 + 1312LL))(v5);\n  v6 = sub_10045F390(*(unsigned int *)(a1 + 688), (__int64)v5);\n  v6[596] = 1;\n  (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v6 + 1312LL))(v6);\n  return GJPathPage::unlockAnimationStep3(v6);\n}", "assembly": "; \n; GJPathPage::unlockAnimationFinished from 0x100461b04 to 0x100461b90 (140 bytes)\n; \n; 1 xrefs:\n; > GJPathPage::playUnlockAnimation @ 0x1004613b4\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 11:05:30 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100461b04\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100461b08\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100461b0c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100461b10\nMOV             X19, X0                                                ; +0x10, 0x100461b14\nSTRB            WZR, [X0,#0x2B4]                                       ; +0x14, 0x100461b18\nLDR             W20, [X0,#0x2B0]                                       ; +0x18, 0x100461b1c\nBL              GameStatsManager__sharedState                          ; +0x1c, 0x100461b20\nADD             W1, W20, #0x1D                                         ; +0x20, 0x100461b24\nBL              sub_1003CDC48                                          ; +0x24, 0x100461b28\nMOV             X0, X19                                                ; +0x28, 0x100461b2c\nBL              sub_100460D64                                          ; +0x2c, 0x100461b30\nLDR             X0, [X19,#0x2A8]                                       ; +0x30, 0x100461b34\nSTRB            WZR, [X0,#0x2A8]                                       ; +0x34, 0x100461b38\nBL              sub_10045F128                                          ; +0x38, 0x100461b3c\nBL              GJPathsLayer__create                                   ; +0x3c, 0x100461b40\nMOV             X20, X0                                                ; +0x40, 0x100461b44\nMOV             W21, #1                                                ; +0x44, 0x100461b48\nSTRB            W21, [X0,#0x254]                                       ; +0x48, 0x100461b4c\nLDR             X8, [X0]                                               ; +0x4c, 0x100461b50\nLDR             X8, [X8,#0x520]                                        ; +0x50, 0x100461b54\nBLR             X8                                                     ; +0x54, 0x100461b58\nLDR             W0, [X19,#0x2B0]                                       ; +0x58, 0x100461b5c\nMOV             X1, X20                                                ; +0x5c, 0x100461b60\nBL              sub_10045F390                                          ; +0x60, 0x100461b64\nMOV             X19, X0                                                ; +0x64, 0x100461b68\nSTRB            W21, [X0,#0x254]                                       ; +0x68, 0x100461b6c\nLDR             X8, [X0]                                               ; +0x6c, 0x100461b70\nLDR             X8, [X8,#0x520]                                        ; +0x70, 0x100461b74\nBLR             X8                                                     ; +0x74, 0x100461b78\nMOV             X0, X19                                                ; +0x78, 0x100461b7c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x100461b80\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x100461b84\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x100461b88\nB               GJPathPage__unlockAnimationStep3                       ; +0x88, 0x100461b8c", "xrefs": ["GJPathPage::playUnlockAnimation @ 0x1004613b4"], "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"}