{"type": "func", "start": 7836772, "end": 7836890, "name": "EmotePickerPopup::createPicker", "pseudocode": "// \n// EmotePickerPopup::createPicker from 0x779464 to 0x7794da (118 bytes)\n// \n// 1 xrefs:\n// > EmotePickerPopup::togglePicker @ 0x779512\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n// \n\nvoid *__fastcall EmotePickerPopup::createPicker(const cocos2d::CCPoint *a1)\n{\n  void *v2; // r4\n  float v4[2]; // [sp+Ch] [bp-10h] BYREF\n\n  v2 = (void *)operator new(0x378u);\n  memset(v2, 0, 0x378u);\n  EmotePickerPopup::EmotePickerPopup((EmotePickerPopup *)v2);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, a1);\n  if ( EmotePickerPopup::init((int)v2, 0, v4, 0, 0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_DWORD *)v2 + 8))(v2);\n    return nullptr;\n  }\n}", "assembly": "; \n; EmotePickerPopup::createPicker from 0x779464 to 0x7794da (118 bytes)\n; \n; 1 xrefs:\n; > EmotePickerPopup::togglePicker @ 0x779512\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:22 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x779464\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x779466\nLDR             R6, =(__stack_chk_guard_ptr - 0x779474)                ; +0x4, 0x779468\nMOV             R7, R0                                                 ; +0x6, 0x77946a\nMOV.W           R0, #0x378; unsigned int                               ; +0x8, 0x77946c\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x779470\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x779472\nLDR             R3, [R6]                                               ; +0x10, 0x779474\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x12, 0x779476\nBL              _Znwj; operator new(uint)                              ; +0x14, 0x779478\nMOVS            R1, #0; int                                            ; +0x18, 0x77947c\nMOV.W           R2, #0x378; size_t                                     ; +0x1a, 0x77947e\nMOV             R4, R0                                                 ; +0x1e, 0x779482\nBLX             memset                                                 ; +0x20, 0x779484\nMOV             R0, R4; this                                           ; +0x24, 0x779488\nBL              _ZN16EmotePickerPopupC2Ev; EmotePickerPopup::EmotePickerPopup(void) ; +0x26, 0x77948a\nADD             R5, SP, #0x1C+var_10                                   ; +0x2a, 0x77948e\nMOV             R1, R7; cocos2d::CCPoint *                             ; +0x2c, 0x779490\nMOV             R0, R5; this                                           ; +0x2e, 0x779492\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x30, 0x779494\nMOVS            R1, #0                                                 ; +0x34, 0x779498\nMOV             R0, R4                                                 ; +0x36, 0x77949a\nSTR             R1, [SP,#0x1C+var_1C]                                  ; +0x38, 0x77949c\nMOV             R2, R5                                                 ; +0x3a, 0x77949e\nMOV             R3, R1                                                 ; +0x3c, 0x7794a0\nBL              _ZN16EmotePickerPopup4initEP15CCTextInputNodeN7cocos2d7CCPointEii; EmotePickerPopup::init(CCTextInputNode *,cocos2d::CCPoint,int,int) ; +0x3e, 0x7794a2\nMOV             R5, R0                                                 ; +0x42, 0x7794a6\nCBZ             R0, loc_7794B6                                         ; +0x44, 0x7794a8\nMOV             R0, R4; this                                           ; +0x46, 0x7794aa\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x48, 0x7794ac\nMOV             R0, R4                                                 ; +0x4c, 0x7794b0\nB               loc_7794C0                                             ; +0x4e, 0x7794b2\nB               loc_7794D2                                             ; +0x50, 0x7794b4\nLDR             R3, [R4]                                               ; +0x52, 0x7794b6\nMOV             R0, R4                                                 ; +0x54, 0x7794b8\nLDR             R3, [R3,#8]                                            ; +0x56, 0x7794ba\nBLX             R3                                                     ; +0x58, 0x7794bc\nMOV             R0, R5                                                 ; +0x5a, 0x7794be\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x5c, 0x7794c0\nLDR             R3, [R6]                                               ; +0x5e, 0x7794c2\nCMP             R2, R3                                                 ; +0x60, 0x7794c4\nBEQ             loc_7794D6                                             ; +0x62, 0x7794c6\nBLX             __stack_chk_fail                                       ; +0x64, 0x7794c8\nMOV             R0, R4; void *                                         ; +0x68, 0x7794cc\nBL              _ZdlPv; operator delete(void *)                        ; +0x6a, 0x7794ce\nBL              __cxa_end_cleanup                                      ; +0x6e, 0x7794d2\nADD             SP, SP, #0x1C                                          ; +0x72, 0x7794d6\nPOP             {R4-R7,PC}                                             ; +0x74, 0x7794d8", "xrefs": ["EmotePickerPopup::togglePicker @ 0x779512"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}