{"type": "func", "start": 5372902592, "end": 5372902730, "name": "SetupObjectOptionsPopup::onDontEnter", "pseudocode": "// \n// SetupObjectOptionsPopup::onDontEnter from 0x1403ffcc0 to 0x1403ffd4a (138 bytes)\n// \n// 2 xrefs:\n// > SetupObjectOptionsPopup::init @ 0x1403fe5a4\n// > <???> @ 0x1406d86d8\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 SetupObjectOptionsPopup::onDontEnter(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2)\n{\n  bool v3; // cl\n  GameObject *m_gameObject; // rax\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v6; // rax\n\n  v3 = !a1->m_dontEnter;\n  a1->m_dontEnter = v3;\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_isDontEnter = v3;\n  }\n  else\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); BYTE2(v6[18].m_unknown2) = a1->m_dontEnter )\n      v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);\n  }\n}", "assembly": "; \n; SetupObjectOptionsPopup::onDontEnter from 0x1403ffcc0 to 0x1403ffd4a (138 bytes)\n; \n; 2 xrefs:\n; > SetupObjectOptionsPopup::init @ 0x1403fe5a4\n; > <???> @ 0x1406d86d8\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, 0x1403ffcc0\nsub     rsp, 20h                                                       ; +0x2, 0x1403ffcc2\ncmp     byte ptr [rcx+292h], 0                                         ; +0x6, 0x1403ffcc6\nmov     rbx, rcx                                                       ; +0xd, 0x1403ffccd\nsetz    al                                                             ; +0x10, 0x1403ffcd0\nmovzx   ecx, al                                                        ; +0x13, 0x1403ffcd3\nmov     [rbx+292h], al                                                 ; +0x16, 0x1403ffcd6\nmov     rax, [rbx+280h]                                                ; +0x1c, 0x1403ffcdc\ntest    rax, rax                                                       ; +0x23, 0x1403ffce3\njz      short loc_1403FFCF4                                            ; +0x26, 0x1403ffce6\nmov     [rax+41Ah], cl                                                 ; +0x28, 0x1403ffce8\nadd     rsp, 20h                                                       ; +0x2e, 0x1403ffcee\npop     rbx                                                            ; +0x32, 0x1403ffcf2\nretn                                                                   ; +0x33, 0x1403ffcf3\nmov     rcx, [rbx+288h]                                                ; +0x34, 0x1403ffcf4\nmov     [rsp+28h+arg_0], rdi                                           ; +0x3b, 0x1403ffcfb\nxor     edi, edi                                                       ; +0x40, 0x1403ffd00\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x42, 0x1403ffd02\ntest    eax, eax                                                       ; +0x48, 0x1403ffd08\njz      short loc_1403FFD3F                                            ; +0x4a, 0x1403ffd0a\nnop     dword ptr [rax+00h]                                            ; +0x4c, 0x1403ffd0c\nmov     rcx, [rbx+288h]                                                ; +0x50, 0x1403ffd10\nmov     edx, edi                                                       ; +0x57, 0x1403ffd17\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x1403ffd19\nmovzx   ecx, byte ptr [rbx+292h]                                       ; +0x5f, 0x1403ffd1f\ninc     edi                                                            ; +0x66, 0x1403ffd26\nmov     [rax+41Ah], cl                                                 ; +0x68, 0x1403ffd28\nmov     rcx, [rbx+288h]                                                ; +0x6e, 0x1403ffd2e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x1403ffd35\ncmp     edi, eax                                                       ; +0x7b, 0x1403ffd3b\njb      short loc_1403FFD10                                            ; +0x7d, 0x1403ffd3d\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7f, 0x1403ffd3f\nadd     rsp, 20h                                                       ; +0x84, 0x1403ffd44\npop     rbx                                                            ; +0x88, 0x1403ffd48\nretn                                                                   ; +0x89, 0x1403ffd49", "xrefs": ["SetupObjectOptionsPopup::init @ 0x1403fe5a4", "<???> @ 0x1406d86d8"], "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"}