{"type": "func", "start": 5373149808, "end": 5373149975, "name": "SetupPulsePopup::show", "pseudocode": "// \n// SetupPulsePopup::show from 0x14043c270 to 0x14043c317 (167 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405eb7f0\n// > <???> @ 0x1406da094\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid SetupPulsePopup::show(SetupPulsePopup *a1)\n{\n  cocos2d::extension::CCControlColourPicker *m_colorPicker; // rdx\n  __int64 v3; // rcx\n  cocos2d::CCNode *m_scene; // rcx\n  cocos2d::ccColor3B m_rgb; // [rsp+30h] [rbp+8h] BYREF\n\n  m_colorPicker = a1->m_colorPicker;\n  a1->m_colorInitializing = 1;\n  a1->m_originalColor = m_colorPicker->m_rgb;\n  m_rgb = m_colorPicker->m_rgb;\n  a1->colorValueChanged(&a1->cocos2d::extension::ColorPickerDelegate, &m_rgb);\n  a1->m_colorInitializing = 0;\n  m_scene = *(cocos2d::CCNode **)(cocos2d::CCDirector::sharedDirector(v3) + 264);\n  if ( a1->m_scene )\n    m_scene = a1->m_scene;\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  ((void (__fastcall *)(cocos2d::CCNode *, SetupPulsePopup *))m_scene->addChild_0)(m_scene, a1);\n}", "assembly": "; \n; SetupPulsePopup::show from 0x14043c270 to 0x14043c317 (167 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405eb7f0\n; > <???> @ 0x1406da094\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14043c270\nsub     rsp, 20h                                                       ; +0x2, 0x14043c272\nmov     rdx, [rcx+3B8h]                                                ; +0x6, 0x14043c276\nmov     rbx, rcx                                                       ; +0xd, 0x14043c27d\nmov     byte ptr [rcx+4ACh], 1                                         ; +0x10, 0x14043c280\nmovzx   eax, word ptr [rdx+1D8h]                                       ; +0x17, 0x14043c287\nmov     [rcx+408h], ax                                                 ; +0x1e, 0x14043c28e\nmovzx   eax, byte ptr [rdx+1DAh]                                       ; +0x25, 0x14043c295\nmov     [rcx+40Ah], al                                                 ; +0x2c, 0x14043c29c\nadd     rcx, 3A8h                                                      ; +0x32, 0x14043c2a2\nmovzx   eax, word ptr [rdx+1D8h]                                       ; +0x39, 0x14043c2a9\nmov     [rsp+28h+arg_0], ax                                            ; +0x40, 0x14043c2b0\nmovzx   eax, byte ptr [rdx+1DAh]                                       ; +0x45, 0x14043c2b5\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x4c, 0x14043c2bc\nmov     [rsp+28h+arg_2], al                                            ; +0x51, 0x14043c2c1\nmov     rax, [rcx]                                                     ; +0x55, 0x14043c2c5\ncall    qword ptr [rax]                                                ; +0x58, 0x14043c2c8\nmov     byte ptr [rbx+4ACh], 0                                         ; +0x5a, 0x14043c2ca\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x61, 0x14043c2d1\nmov     r8d, [rbx+248h]                                                ; +0x67, 0x14043c2d7\nmov     rcx, [rax+108h]                                                ; +0x6e, 0x14043c2de\nmov     rax, [rbx+230h]                                                ; +0x75, 0x14043c2e5\ntest    rax, rax                                                       ; +0x7c, 0x14043c2ec\ncmovnz  rcx, rax                                                       ; +0x7f, 0x14043c2ef\ntest    r8d, r8d                                                       ; +0x83, 0x14043c2f3\njnz     short loc_14043C305                                            ; +0x86, 0x14043c2f6\nmov     r8d, 69h ; 'i'                                                 ; +0x88, 0x14043c2f8\nmov     [rbx+248h], r8d                                                ; +0x8e, 0x14043c2fe\nmov     rax, [rcx]                                                     ; +0x95, 0x14043c305\nmov     rdx, rbx                                                       ; +0x98, 0x14043c308\nadd     rsp, 20h                                                       ; +0x9b, 0x14043c30b\npop     rbx                                                            ; +0x9f, 0x14043c30f\njmp     qword ptr [rax+1B8h]                                           ; +0xa0, 0x14043c310", "xrefs": ["<???> @ 0x1405eb7f0", "<???> @ 0x1406da094"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}