{"type": "func", "start": 5372465104, "end": 5372465204, "name": "GJPathPage::onActivatePath", "pseudocode": "// \n// GJPathPage::onActivatePath from 0x140394fd0 to 0x140395034 (100 bytes)\n// \n// 3 xrefs:\n// > GJPathPage::init @ 0x140394e59\n// > <???> @ 0x1409230a8\n// > <???> @ 0x1409230b4\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:31:13 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJPathPage::onActivatePath(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rcx\n  __int64 result; // rax\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  v1 = *(_DWORD *)(a1 + 688) + 29;\n  v2 = qword_14090BFE0;\n  if ( !qword_14090BFE0 )\n  {\n    v4 = operator new(0x3E8u);\n    qword_14090BFE0 = sub_1402D6480((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n    v2 = qword_14090BFE0;\n  }\n  result = (unsigned int)(v1 - 30);\n  if ( (unsigned int)result > 9 )\n    v1 = 0;\n  *(_DWORD *)(v2 + 996) = v1;\n  return result;\n}", "assembly": "; \n; GJPathPage::onActivatePath from 0x140394fd0 to 0x140395034 (100 bytes)\n; \n; 3 xrefs:\n; > GJPathPage::init @ 0x140394e59\n; > <???> @ 0x1409230a8\n; > <???> @ 0x1409230b4\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:31:13 +0000\n; \npush    rbx                                                            ; +0x0, 0x140394fd0\nsub     rsp, 20h                                                       ; +0x2, 0x140394fd2\nmov     ebx, [rcx+2B0h]                                                ; +0x6, 0x140394fd6\nadd     ebx, 1Dh                                                       ; +0xc, 0x140394fdc\nmov     rcx, cs:qword_14090BFE0                                        ; +0xf, 0x140394fdf\ntest    rcx, rcx                                                       ; +0x16, 0x140394fe6\njnz     short loc_14039501D                                            ; +0x19, 0x140394fe9\nmov     ecx, 3E8h; Size                                                ; +0x1b, 0x140394feb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x20, 0x140394ff0\nmov     [rsp+28h+arg_0], rax                                           ; +0x25, 0x140394ff5\nmov     rcx, rax                                                       ; +0x2a, 0x140394ffa\ncall    sub_1402D6480                                                  ; +0x2d, 0x140394ffd\nnop                                                                    ; +0x32, 0x140395002\nmov     cs:qword_14090BFE0, rax                                        ; +0x33, 0x140395003\nmov     rcx, [rax]                                                     ; +0x3a, 0x14039500a\nmov     rdx, [rcx+48h]                                                 ; +0x3d, 0x14039500d\nmov     rcx, rax                                                       ; +0x41, 0x140395011\ncall    rdx                                                            ; +0x44, 0x140395014\nmov     rcx, cs:qword_14090BFE0                                        ; +0x46, 0x140395016\nlea     eax, [rbx-1Eh]                                                 ; +0x4d, 0x14039501d\nxor     edx, edx                                                       ; +0x50, 0x140395020\ncmp     eax, 9                                                         ; +0x52, 0x140395022\ncmova   ebx, edx                                                       ; +0x55, 0x140395025\nmov     [rcx+3E4h], ebx                                                ; +0x58, 0x140395028\nadd     rsp, 20h                                                       ; +0x5e, 0x14039502e\npop     rbx                                                            ; +0x62, 0x140395032\nretn                                                                   ; +0x63, 0x140395033", "xrefs": ["GJPathPage::init @ 0x140394e59", "<???> @ 0x1409230a8", "<???> @ 0x1409230b4"], "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"}