{"type": "func", "start": 5369903072, "end": 5369903168, "name": "EmotePickerPopup::buttonAnchor", "pseudocode": "// \n// EmotePickerPopup::buttonAnchor from 0x1401237e0 to 0x140123840 (96 bytes)\n// \n// 11 xrefs:\n// > ThreadViewPopup::onEmotes @ 0x1400de363\n// > NewThreadPopup::onEmotes @ 0x1400f064a\n// > NewThreadPopup::onPickIcon @ 0x1400f07cb\n// > ThreadDescPopup::onPickIcon @ 0x1400fd9a0\n// > ThreadDescPopup::onEmotes @ 0x1400fdac3\n// > EditLevelLayer::onEmotes @ 0x14017b746\n// > SoundPackDescPopup::onPickIcon @ 0x14019a070\n// > SoundPackDescPopup::onEmotes @ 0x14019a193\n// > SetTextPopup::onEmotes @ 0x1403a84f8\n// > ShareCommentLayer::onEmotes @ 0x14062ffad\n// > <???> @ 0x140916814\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__int64 __fastcall EmotePickerPopup::buttonAnchor(__int64 a1, __int64 a2)\n{\n  __int64 (__fastcall *v4)(__int64); // rdi\n  __int64 v5; // rbx\n  __int64 v6; // rax\n\n  v4 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 504LL);\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 200LL))(a2);\n  v6 = v4(a2);\n  cocos2d::CCNode::convertToWorldSpace(v6, a1, v5);\n  return a1;\n}", "assembly": "; \n; EmotePickerPopup::buttonAnchor from 0x1401237e0 to 0x140123840 (96 bytes)\n; \n; 11 xrefs:\n; > ThreadViewPopup::onEmotes @ 0x1400de363\n; > NewThreadPopup::onEmotes @ 0x1400f064a\n; > NewThreadPopup::onPickIcon @ 0x1400f07cb\n; > ThreadDescPopup::onPickIcon @ 0x1400fd9a0\n; > ThreadDescPopup::onEmotes @ 0x1400fdac3\n; > EditLevelLayer::onEmotes @ 0x14017b746\n; > SoundPackDescPopup::onPickIcon @ 0x14019a070\n; > SoundPackDescPopup::onEmotes @ 0x14019a193\n; > SetTextPopup::onEmotes @ 0x1403a84f8\n; > ShareCommentLayer::onEmotes @ 0x14062ffad\n; > <???> @ 0x140916814\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, 0x1401237e0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1401237e5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1401237ea\npush    rdi                                                            ; +0xf, 0x1401237ef\nsub     rsp, 20h                                                       ; +0x10, 0x1401237f0\nmov     rax, [rdx]                                                     ; +0x14, 0x1401237f4\nmov     rbp, rcx                                                       ; +0x17, 0x1401237f7\nmov     rcx, rdx                                                       ; +0x1a, 0x1401237fa\nmov     rsi, rdx                                                       ; +0x1d, 0x1401237fd\nmov     r8, [rax+0C8h]                                                 ; +0x20, 0x140123800\nmov     rdi, [rax+1F8h]                                                ; +0x27, 0x140123807\ncall    r8                                                             ; +0x2e, 0x14012380e\nmov     rcx, rsi                                                       ; +0x31, 0x140123811\nmov     rbx, rax                                                       ; +0x34, 0x140123814\ncall    rdi                                                            ; +0x37, 0x140123817\nmov     rcx, rax                                                       ; +0x39, 0x140123819\nmov     r8, rbx                                                        ; +0x3c, 0x14012381c\nmov     rdx, rbp                                                       ; +0x3f, 0x14012381f\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x42, 0x140123822\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x140123828\nmov     rax, rbp                                                       ; +0x4d, 0x14012382d\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x50, 0x140123830\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x55, 0x140123835\nadd     rsp, 20h                                                       ; +0x5a, 0x14012383a\npop     rdi                                                            ; +0x5e, 0x14012383e\nretn                                                                   ; +0x5f, 0x14012383f", "xrefs": ["ThreadViewPopup::onEmotes @ 0x1400de363", "NewThreadPopup::onEmotes @ 0x1400f064a", "NewThreadPopup::onPickIcon @ 0x1400f07cb", "ThreadDescPopup::onPickIcon @ 0x1400fd9a0", "ThreadDescPopup::onEmotes @ 0x1400fdac3", "EditLevelLayer::onEmotes @ 0x14017b746", "SoundPackDescPopup::onPickIcon @ 0x14019a070", "SoundPackDescPopup::onEmotes @ 0x14019a193", "SetTextPopup::onEmotes @ 0x1403a84f8", "ShareCommentLayer::onEmotes @ 0x14062ffad", "<???> @ 0x140916814"], "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"}