{"type": "func", "start": 5369902816, "end": 5369902983, "name": "EmotePickerPopup::dEmotePickerPopup", "pseudocode": "// \n// EmotePickerPopup::dEmotePickerPopup from 0x1401236e0 to 0x140123787 (167 bytes)\n// \n// 3 xrefs:\n// > sub_140124B7C @ 0x140124b83\n// > <???> @ 0x140732810\n// > <???> @ 0x1409167fc\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:26:57 +0000\n// \n\n_QWORD *__fastcall EmotePickerPopup::dEmotePickerPopup(_QWORD *Block, char a2)\n{\n  _QWORD *v4; // rcx\n\n  v4 = (_QWORD *)Block[150];\n  if ( v4 )\n  {\n    if ( ((Block[152] - (_QWORD)v4) & 0xFFFFFFFFFFFFFFF8uLL) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v4 = (_QWORD *)*(v4 - 1);\n    }\n    j_j_free(v4);\n    Block[150] = 0;\n    Block[151] = 0;\n    Block[152] = 0;\n  }\n  SetupTriggerPopup::dSetupTriggerPopup(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; EmotePickerPopup::dEmotePickerPopup from 0x1401236e0 to 0x140123787 (167 bytes)\n; \n; 3 xrefs:\n; > sub_140124B7C @ 0x140124b83\n; > <???> @ 0x140732810\n; > <???> @ 0x1409167fc\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:26:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401236e0\npush    rdi                                                            ; +0x5, 0x1401236e5\nsub     rsp, 30h                                                       ; +0x6, 0x1401236e6\nmov     rbx, rcx                                                       ; +0xa, 0x1401236ea\nmov     edi, edx                                                       ; +0xd, 0x1401236ed\nmov     rcx, [rcx+4B0h]                                                ; +0xf, 0x1401236ef\ntest    rcx, rcx                                                       ; +0x16, 0x1401236f6\njz      short loc_140123746                                            ; +0x19, 0x1401236f9\nmov     rdx, [rbx+4C0h]                                                ; +0x1b, 0x1401236fb\nsub     rdx, rcx                                                       ; +0x22, 0x140123702\nand     rdx, 0FFFFFFFFFFFFFFF8h                                        ; +0x25, 0x140123705\ncmp     rdx, 1000h                                                     ; +0x29, 0x140123709\njb      short loc_14012372A                                            ; +0x30, 0x140123710\nmov     rax, [rcx-8]                                                   ; +0x32, 0x140123712\nadd     rdx, 27h ; '''                                                 ; +0x36, 0x140123716\nsub     rcx, rax                                                       ; +0x3a, 0x14012371a\nsub     rcx, 8                                                         ; +0x3d, 0x14012371d\ncmp     rcx, 1Fh                                                       ; +0x41, 0x140123721\nja      short loc_14012376F                                            ; +0x45, 0x140123725\nmov     rcx, rax; Block                                                ; +0x47, 0x140123727\ncall    j_j_free                                                       ; +0x4a, 0x14012372a\nxor     eax, eax                                                       ; +0x4f, 0x14012372f\nmov     [rbx+4B0h], rax                                                ; +0x51, 0x140123731\nmov     [rbx+4B8h], rax                                                ; +0x58, 0x140123738\nmov     [rbx+4C0h], rax                                                ; +0x5f, 0x14012373f\nmov     rcx, rbx                                                       ; +0x66, 0x140123746\ncall    SetupTriggerPopup__dSetupTriggerPopup; Merged with: SetupTriggerPopup::~SetupTriggerPopup, AutoBackupOptionsPopup::~AutoBackupOptionsPopup, ClearPlatformerSavesOptionsPopup::~ClearPlatformerSavesOptionsPopup, ControlSlotsPopup::~ControlSlotsPopup, CustomizeObjectSettingsPopup::~CustomizeObjectSettingsPopup, DeathMarkerSettingsPopup::~DeathMarkerSettingsPopup, DeathTrackerOptionsPopup::~DeathTrackerOptionsPopup, EditorSFXSettingsPopup::~EditorSFXSettingsPopup, MoveStepPopup::~MoveStepPopup, MultiTriggerPopup::~MultiTriggerPopup, NotificationFilterPopup::~NotificationFilterPopup, ReviewChoiceSheet::~ReviewChoiceSheet, SetupAdvFollowEditPhysicsPopup::~SetupAdvFollowEditPhysicsPopup, SetupAdvFollowPopup::~SetupAdvFollowPopup, SetupAdvFollowRetargetPopup::~SetupAdvFollowRetargetPopup, SetupAnimSettingsPopup::~SetupAnimSettingsPopup, SetupArtSwitchPopup::~SetupArtSwitchPopup, SetupAudioLineGuidePopup::~SetupAudioLineGuidePopup, SetupCameraGuidePopup::~SetupCameraGuidePopup, SetupCameraRotatePopup2::~SetupCameraRotatePopup2, SetupCoinLayer::~SetupCoinLay ; +0x69, 0x140123749\ntest    dil, 1                                                         ; +0x6e, 0x14012374e\njz      short loc_140123761                                            ; +0x72, 0x140123752\nmov     edx, 4C8h                                                      ; +0x74, 0x140123754\nmov     rcx, rbx; Block                                                ; +0x79, 0x140123759\ncall    j_j_free                                                       ; +0x7c, 0x14012375c\nmov     rax, rbx                                                       ; +0x81, 0x140123761\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x84, 0x140123764\nadd     rsp, 30h                                                       ; +0x89, 0x140123769\npop     rdi                                                            ; +0x8d, 0x14012376d\nretn                                                                   ; +0x8e, 0x14012376e\nxor     eax, eax                                                       ; +0x8f, 0x14012376f\nxor     r9d, r9d; LineNo                                               ; +0x91, 0x140123771\nxor     r8d, r8d; FileName                                             ; +0x94, 0x140123774\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x97, 0x140123777\nxor     edx, edx; FunctionName                                         ; +0x9c, 0x14012377c\nxor     ecx, ecx; Expression                                           ; +0x9e, 0x14012377e\ncall    cs:_invoke_watson                                              ; +0xa0, 0x140123780\ndb 0CCh                                                                ; +0xa6, 0x140123786", "xrefs": ["sub_140124B7C @ 0x140124b83", "<???> @ 0x140732810", "<???> @ 0x1409167fc"], "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"}