{"type": "func", "start": 5373175664, "end": 5373175834, "name": "SetupGameplayOffsetPopup::onDefaultValues", "pseudocode": "// \n// SetupGameplayOffsetPopup::onDefaultValues from 0x140442770 to 0x14044281a (170 bytes)\n// \n// 2 xrefs:\n// > SetupGameplayOffsetPopup::init @ 0x14044267d\n// > <???> @ 0x1406da430\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 SetupGameplayOffsetPopup::onDefaultValues(SetupGameplayOffsetPopup *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // r8\n  _BOOL8 v4; // r8\n\n  if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 28) )\n  {\n    LOBYTE(v3) = 1;\n    a1->updateToggleItem(a1, 28, v3);\n  }\n  else\n  {\n    SetupTriggerPopup::updateValueControls(a1, 28, 75.0);\n  }\n  SetupTriggerPopup::valueChanged(a1, 28, 75.0);\n  if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 29) )\n  {\n    LOBYTE(v4) = 1;\n    a1->updateToggleItem(a1, 29, v4);\n  }\n  else\n  {\n    SetupTriggerPopup::updateValueControls(a1, 29, 75.0);\n  }\n  SetupTriggerPopup::valueChanged(a1, 29, 75.0);\n}", "assembly": "; \n; SetupGameplayOffsetPopup::onDefaultValues from 0x140442770 to 0x14044281a (170 bytes)\n; \n; 2 xrefs:\n; > SetupGameplayOffsetPopup::init @ 0x14044267d\n; > <???> @ 0x1406da430\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, 0x140442770\nsub     rsp, 30h                                                       ; +0x2, 0x140442772\nmov     rbx, rcx                                                       ; +0x6, 0x140442776\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x140442779\nmov     rcx, [rcx+2D0h]                                                ; +0xe, 0x14044277e\nmov     edx, 1Ch                                                       ; +0x15, 0x140442785\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x1a, 0x14044278a\nmovss   xmm6, cs:dword_140623254                                       ; +0x20, 0x140442790\nmov     edx, 1Ch                                                       ; +0x28, 0x140442798\nmov     rcx, rbx                                                       ; +0x2d, 0x14044279d\ntest    rax, rax                                                       ; +0x30, 0x1404427a0\njz      short loc_1404427B3                                            ; +0x33, 0x1404427a3\nmov     rax, [rbx]                                                     ; +0x35, 0x1404427a5\nmov     r8b, 1                                                         ; +0x38, 0x1404427a8\ncall    qword ptr [rax+460h]                                           ; +0x3b, 0x1404427ab\njmp     short loc_1404427BB                                            ; +0x41, 0x1404427b1\nmovaps  xmm2, xmm6                                                     ; +0x43, 0x1404427b3\ncall    SetupTriggerPopup__updateValueControls                         ; +0x46, 0x1404427b6\nmovaps  xmm2, xmm6                                                     ; +0x4b, 0x1404427bb\nmov     edx, 1Ch                                                       ; +0x4e, 0x1404427be\nmov     rcx, rbx                                                       ; +0x53, 0x1404427c3\ncall    SetupTriggerPopup__valueChanged                                ; +0x56, 0x1404427c6\nmov     rcx, [rbx+2D0h]                                                ; +0x5b, 0x1404427cb\nmov     edx, 1Dh                                                       ; +0x62, 0x1404427d2\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x67, 0x1404427d7\nmov     edx, 1Dh                                                       ; +0x6d, 0x1404427dd\nmov     rcx, rbx                                                       ; +0x72, 0x1404427e2\ntest    rax, rax                                                       ; +0x75, 0x1404427e5\njz      short loc_1404427F8                                            ; +0x78, 0x1404427e8\nmov     rax, [rbx]                                                     ; +0x7a, 0x1404427ea\nmov     r8b, 1                                                         ; +0x7d, 0x1404427ed\ncall    qword ptr [rax+460h]                                           ; +0x80, 0x1404427f0\njmp     short loc_140442800                                            ; +0x86, 0x1404427f6\nmovaps  xmm2, xmm6                                                     ; +0x88, 0x1404427f8\ncall    SetupTriggerPopup__updateValueControls                         ; +0x8b, 0x1404427fb\nmovaps  xmm2, xmm6                                                     ; +0x90, 0x140442800\nmov     edx, 1Dh                                                       ; +0x93, 0x140442803\nmov     rcx, rbx                                                       ; +0x98, 0x140442808\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x9b, 0x14044280b\nadd     rsp, 30h                                                       ; +0xa0, 0x140442810\npop     rbx                                                            ; +0xa4, 0x140442814\njmp     SetupTriggerPopup__valueChanged                                ; +0xa5, 0x140442815", "xrefs": ["SetupGameplayOffsetPopup::init @ 0x14044267d", "<???> @ 0x1406da430"], "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"}