{"type": "func", "start": 5372529488, "end": 5372529568, "name": "GJMessagePopup::downloadMessageFinished", "pseudocode": "// \n// GJMessagePopup::downloadMessageFinished from 0x1403a4b50 to 0x1403a4ba0 (80 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14077b4a0\n// > <???> @ 0x1409236f0\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:18 +0000\n// \n\n__int64 __fastcall GJMessagePopup::downloadMessageFinished(__int64 a1, unsigned int *a2, __int64 a3, double a4)\n{\n  __int64 v4; // r8\n  __int64 result; // rax\n  __int64 v7; // rcx\n\n  if ( a2 )\n  {\n    v4 = *(_QWORD *)(a1 + 24);\n    result = a2[80];\n    v7 = a1 - 688;\n    if ( *(_DWORD *)(v4 + 320) == (_DWORD)result )\n    {\n      GJMessagePopup::loadFromGJMessage(v7, (cocos2d::CCObject *)a2, v4, a4);\n      (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 32) + 336LL))(*(_QWORD *)(a1 + 32), 0);\n      return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 16) + 336LL))(*(_QWORD *)(a1 + 16), 0);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJMessagePopup::downloadMessageFinished from 0x1403a4b50 to 0x1403a4ba0 (80 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14077b4a0\n; > <???> @ 0x1409236f0\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:18 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x1403a4b50\njz      short locret_1403A4B9F                                         ; +0x3, 0x1403a4b53\npush    rbx                                                            ; +0x5, 0x1403a4b55\nsub     rsp, 20h                                                       ; +0x6, 0x1403a4b56\nmov     r8, [rcx+18h]                                                  ; +0xa, 0x1403a4b5a\nmov     rbx, rcx                                                       ; +0xe, 0x1403a4b5e\nmov     eax, [rdx+140h]                                                ; +0x11, 0x1403a4b61\nadd     rcx, 0FFFFFFFFFFFFFD50h                                        ; +0x17, 0x1403a4b67\ncmp     [r8+140h], eax                                                 ; +0x1e, 0x1403a4b6e\njnz     short loc_1403A4B9A                                            ; +0x25, 0x1403a4b75\ncall    GJMessagePopup__loadFromGJMessage                              ; +0x27, 0x1403a4b77\nmov     rcx, [rbx+20h]                                                 ; +0x2c, 0x1403a4b7c\nxor     edx, edx                                                       ; +0x30, 0x1403a4b80\nmov     rax, [rcx]                                                     ; +0x32, 0x1403a4b82\ncall    qword ptr [rax+150h]                                           ; +0x35, 0x1403a4b85\nmov     rcx, [rbx+10h]                                                 ; +0x3b, 0x1403a4b8b\nxor     edx, edx                                                       ; +0x3f, 0x1403a4b8f\nmov     rax, [rcx]                                                     ; +0x41, 0x1403a4b91\ncall    qword ptr [rax+150h]                                           ; +0x44, 0x1403a4b94\nadd     rsp, 20h                                                       ; +0x4a, 0x1403a4b9a\npop     rbx                                                            ; +0x4e, 0x1403a4b9e\nretn                                                                   ; +0x4f, 0x1403a4b9f", "xrefs": ["<???> @ 0x14077b4a0", "<???> @ 0x1409236f0"], "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"}